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

⟦91a31942f⟧ TextFile

    Length: 1441 (0x5a1)
    Types: TextFile
    Names: »V«

Derivation

└─⟦bad92a95e⟧ Bits:30000535 8mm tape, Rational 1000, RPC 1_0_2
    └─ ⟦bb34fe6e2⟧ »DATA« 
        └─⟦15d8b76c6⟧ 
            └─⟦this⟧ 

TextFile

with Interchange;
with Rpc;
with Transport_Defs;
package Complex_Defs is


    type Number is
        record
            Real, Imag : Float;
        end record;

    generic
        type Stream_Id is limited private;
        with procedure Put (Into : Stream_Id; Data : Interchange.Float) is <>;
        with procedure Get (From : Stream_Id;
                            Data : out Interchange.Float) is <>;
    package Interchange_Operations is
        procedure Put (Into : Stream_Id; Data : Number);
        procedure Get (From : Stream_Id; Data : out Number);  
    end Interchange_Operations;

    Network : constant Transport_Defs.Network_Name := "TCP/IP";
    Socket : constant Transport_Defs.Socket_Id (1 .. 2) := (10, 45);

    Program : constant Rpc.Program_Number := 45;
    Version : constant Rpc.Version_Number := 0;

    package Proc_Number is
        Make : constant Rpc.Procedure_Number := 0;
        Real_Part : constant Rpc.Procedure_Number := 1;
        Imaginary_Part : constant Rpc.Procedure_Number := 2;
        Plus : constant Rpc.Procedure_Number := 3;
        Minus : constant Rpc.Procedure_Number := 4;
        Image : constant Rpc.Procedure_Number := 5;
        Value : constant Rpc.Procedure_Number := 6;
    end Proc_Number;

    package Exception_Number is
        Overflow : constant Rpc.Exception_Number := 1;
        Underflow : constant Rpc.Exception_Number := 2;
    end Exception_Number;

end Complex_Defs;