|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 3072 (0xc00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package Interchange_Float, seg_0009cd
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with Byte_Defs;
with Interchange_Defs;
package Interchange_Float is
-- This package provides primitives to convert Floats
-- to and from IEEE floating point format. Its only
-- client is package Interchange. This package exists
-- to simplify porting: if you supply the bodies to
-- these procedures, Interchange will do the right thing.
-- IEEE single-precision format:
type Float is new Byte_Defs.Byte_String (1 .. 4);
function Convert (X : Interchange_Float.Float)
return Interchange_Defs.Float;
function Convert (X : Interchange_Defs.Float)
return Interchange_Float.Float;
-- IEEE double-precision format:
type Long_Float is new Byte_Defs.Byte_String (1 .. 8);
function Convert (X : Interchange_Float.Long_Float)
return Interchange_Defs.Long_Float;
function Convert (X : Interchange_Defs.Long_Float)
return Interchange_Float.Long_Float;
end Interchange_Float;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=19 rec1=00 rec2=01 rec3=032
[0x01] rec0=03 rec1=00 rec2=02 rec3=000
tail 0x2030018607bac64a7f4cb 0x42a00088462060003