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 - downloadIndex: ┃ B T ┃
Length: 965 (0x3c5) Types: TextFile Names: »B«
└─⟦149519bd4⟧ Bits:30000546 8mm tape, Rational 1000, !projects 93-07-13 └─ ⟦124ff5788⟧ »DATA« └─⟦this⟧ └─⟦bad92a95e⟧ Bits:30000535 8mm tape, Rational 1000, RPC 1_0_2 └─ ⟦bb34fe6e2⟧ »DATA« └─⟦15d8b76c6⟧ └─⟦this⟧ └─⟦f64eaa120⟧ Bits:30000752 8mm tape, Rational 1000, !projects 93 02 16 └─ ⟦6f12a12be⟧ »DATA« └─⟦this⟧
package body Complex_Service is function Make (Real, Imag : Float) return Number is X : Number; begin X.Real := Real; X.Imag := Imag; return X; end Make; function Real_Part (X : Number) return Float is begin return X.Real; end Real_Part; function Imaginary_Part (X : Number) return Float is begin return X.Imag; end Imaginary_Part; function Plus (Left, Right : Number) return Number is begin return (Left.Real + Right.Real, Left.Imag + Right.Imag); end Plus; function Minus (Left, Right : Number) return Number is begin return (Left.Real - Right.Real, Left.Imag - Right.Imag); end Minus; function Image (X : Number) return String is begin return ""; end Image; function Value (S : String) return Number is X : Number := (0.0, 0.0); begin return X; end Value; end Complex_Service;