|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T V
Length: 1006 (0x3ee)
Types: TextFile
Names: »V«
└─⟦bad92a95e⟧ Bits:30000535 8mm tape, Rational 1000, RPC 1_0_2
└─⟦bb34fe6e2⟧ »DATA«
└─⟦15d8b76c6⟧
└─⟦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;