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

⟦abf29a5da⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, generic, package Fixmath, seg_021fc3

Derivation

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

E3 Source Code



--      Copyright (c) 1990 Meridian Software Systems, Inc.      --
with Mac_Types;
use Mac_Types;

generic
    type Extended is limited private;
package Fixmath is

    function Fix2frac (X : Fixed) return Fract;
    pragma Interface (Mpwpascal, Fix2frac, "16#A841#");

    function Fix2long (X : Fixed) return Longint;
    pragma Interface (Mpwpascal, Fix2long, "16#A840#");

    function Fixatan2 (X : Longint; Y : Longint) return Fixed;
    pragma Interface (Mpwpascal, Fixatan2, "16#A818#");

    function Long2fix (X : Longint) return Fixed;
    pragma Interface (Mpwpascal, Long2fix, "16#A83F#");

    function Frac2fix (X : Fract) return Fixed;
    pragma Interface (Mpwpascal, Frac2fix, "16#A842#");

    function Frac2x (X : Fract) return Extended;
    pragma Interface (Mpwpascal, Frac2x, "FRAC2X");

    function Fix2x (X : Fixed) return Extended;
    pragma Interface (Mpwpascal, Fix2x, "FIX2X");

    function X2fix (X : Extended) return Fixed;
    pragma Interface (Mpwpascal, X2fix, "X2FIX");

    function X2frac (X : Extended) return Fract;
    pragma Interface (Mpwpascal, X2frac, "X2FRAC");

    function Fracmul (X : Fract; Y : Fract) return Fract;
    pragma Interface (Mpwpascal, Fracmul, "FRACMUL");

    function Fixdiv (X : Fixed; Y : Fixed) return Fixed;
    pragma Interface (Mpwpascal, Fixdiv, "FIXDIV");

    function Fracdiv (X : Fract; Y : Fract) return Fract;
    pragma Interface (Mpwpascal, Fracdiv, "FRACDIV");

    function Fracsqrt (X : Fract) return Fract;
    pragma Interface (Mpwpascal, Fracsqrt, "FRACSQRT");

    function Fracsin (X : Fixed) return Fract;
    pragma Interface (Mpwpascal, Fracsin, "FRACSIN");

    function Fraccos (X : Fixed) return Fract;
    pragma Interface (Mpwpascal, Fraccos, "FRACCOS");

end Fixmath;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1f rec1=00 rec2=01 rec3=05c
        [0x01] rec0=1a rec1=00 rec2=02 rec3=001
    tail 0x2171dcb2483906de8f3e9 0x42a00088462060003