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

⟦dfa222674⟧ TextFile

    Length: 1454 (0x5ae)
    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

package 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

-- This package is equivalent to the instantiation:
--  package Primitive_Functions is
--        new Generic_Primitive_Functions (Float, Integer);

   function  Exponent  (X : Float)          return Integer;
   function  Fraction  (X : Float)          return Float;
   procedure Decompose (X        : in  Float;
                        Fraction : out Float;
                        Exponent : out Integer);
   function  Compose   (Fraction : Float;  
                        Exponent : Integer) return Float;
   function  Scale     (X        : Float;  
                        Exponent : Integer) return Float;

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

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

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

end Primitive_Functions;