DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

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 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T V

⟦66d62a09f⟧ TextFile

    Length: 1863 (0x747)
    Types: TextFile
    Names: »V«

Derivation

└─⟦5f3412b64⟧ Bits:30000745 8mm tape, Rational 1000, ENVIRONMENT 12_6_5 TOOLS 
    └─ ⟦91c658230⟧ »DATA« 
        └─⟦458657fb6⟧ 
            └─⟦1472c4407⟧ 
                └─⟦3d4b48c74⟧ 
└─⟦d10a02448⟧ Bits:30000409 8mm tape, Rational 1000, ENVIRONMENT, D_12_7_3
    └─ ⟦fc9b38f02⟧ »DATA« 
        └─⟦9b46a407a⟧ 
            └─⟦2e03b931c⟧ 
                └─⟦3d4b48c74⟧ 
                    └─⟦this⟧ 
└─⟦5f3412b64⟧ Bits:30000745 8mm tape, Rational 1000, ENVIRONMENT 12_6_5 TOOLS 
    └─ ⟦91c658230⟧ »DATA« 
        └─⟦458657fb6⟧ 
            └─⟦1472c4407⟧ 
                └─⟦6fef9baf9⟧ 
└─⟦d10a02448⟧ Bits:30000409 8mm tape, Rational 1000, ENVIRONMENT, D_12_7_3
    └─ ⟦fc9b38f02⟧ »DATA« 
        └─⟦9b46a407a⟧ 
            └─⟦2e03b931c⟧ 
                └─⟦6fef9baf9⟧ 
                    └─⟦this⟧ 

TextFile

generic
   type Float_Type    is digits <>;
   type Exponent_Type is range <>;
package Generic_Primitive_Functions is

-- from "Proposed Standard for a Generic package of Primitive Functions
-- for Ada" ISO-IEC/JTC1/SC22/WG9 (Ada) Numerics Rapporteur Group
-- Draft 1.0, 13 December 1990

   function  Exponent  (X : Float_Type)           return Exponent_Type;
   function  Fraction  (X : Float_Type)           return Float_Type;
   procedure Decompose (X        : in  Float_Type;
                        Fraction : out Float_Type;
                        Exponent : out Exponent_Type);
   function  Compose   (Fraction : Float_Type;  
                        Exponent : Exponent_Type) return Float_Type;
   function  Scale     (X        : Float_Type;  
                        Exponent : Exponent_Type) return Float_Type;

   function Floor     (X : Float_Type)    return Float_Type;
   function Ceiling   (X : Float_Type)    return Float_Type;
   function Round     (X : Float_Type)    return Float_Type;
   function Truncate  (X : Float_Type)    return Float_Type;
   function Remainder (X, Y : Float_Type) return Float_Type;

   function Adjacent    (X, Towards : Float_Type) return Float_Type;
   function Successor   (X : Float_Type)          return Float_Type;
   function Predecessor (X : Float_Type)          return Float_Type;

   function Copy_Sign    (Value, Sign : Float_Type) return Float_Type;
   function Leading_Part (X            : Float_Type;  
                          Radix_Digits : Positive)  return Float_Type;


   -- Note: the folowing pragma does not appear in the standard
   pragma Inline (Exponent, Fraction, Decompose, Compose, Scale,  
                  Floor, Ceiling, Round, Truncate, Remainder,  
                  Adjacent, Successor, Predecessor,  
                  Copy_Sign, Leading_Part);

end Generic_Primitive_Functions;