DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦c866e0fc8⟧ Ada Source

    Length: 4096 (0x1000)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Interchange_Defs, seg_0009cb

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 

E3 Source Code



with System;

package Interchange_Defs is

    -- This package defines fundamental types and operators
    -- for data interchange.  When porting this package, you
    -- should modify it to indicate the appropriate types on
    -- your system.


    subtype Longest_Integer is Standard.Long_Integer;
    -- The longest (highest-precision) supported signed integer.
    -- If you've got an arbitrary-precision package, that's ideal.
    -- See INTERCHANGE.LONG_INTEGER.

    function "=" (X, Y : Longest_Integer) return Boolean renames Standard."=";  
    function ">" (X, Y : Longest_Integer) return Boolean renames Standard.">";  
    function "<" (X, Y : Longest_Integer) return Boolean renames Standard."<";  
    function ">=" (X, Y : Longest_Integer) return Boolean renames Standard.">=";  
    function "<=" (X, Y : Longest_Integer) return Boolean renames Standard."<=";

    function "+" (X, Y : Longest_Integer) return Longest_Integer  
        renames Standard."+";  
    function "-" (X, Y : Longest_Integer) return Longest_Integer  
        renames Standard."-";  
    function "*" (X, Y : Longest_Integer) return Longest_Integer  
        renames Standard."*";  
    function "/" (X, Y : Longest_Integer) return Longest_Integer  
        renames Standard."/";  
    function "mod" (X, Y : Longest_Integer) return Longest_Integer  
        renames Standard."mod";  
    function "rem" (X, Y : Longest_Integer) return Longest_Integer  
        renames Standard."rem";


    type Float is new Standard.Float
                         -- digits 8
                         range -2.0 * (2.0 ** 127) .. 2.0 * (2.0 ** 127);

    type Long_Float is new Standard.Float;
    --                  digits 15
    --                  range - 2.0  * (2.0 ** 1023) .. 2.0 * (2.0 ** 1023);

    -- These definitions are intended to represent IEEE floating
    -- point single- and double-precision formats, respectively.
    -- Float'last is IEEE infinity, float'first is IEEE -infinity.



    function Duration_Magnitude return Standard.Integer;
    -- This should be the largest integral power of 10
    -- which is <= Standard.Duration'Last, <= 10 ** 9,
    -- and <= Integer'Last.  It may be a constant.
    -- It is used by the body of INTERCHANGE.CONVERT.

end Interchange_Defs;  

E3 Meta Data

    nblk1=3
    nid=0
    hdr6=6
        [0x00] rec0=18 rec1=00 rec2=01 rec3=030
        [0x01] rec0=17 rec1=00 rec2=02 rec3=034
        [0x02] rec0=0b rec1=00 rec2=03 rec3=000
    tail 0x207001b8a7bac64a56647 0x42a00088462060003