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: 922 (0x39a) Types: TextFile Names: »B«
└─⟦149519bd4⟧ Bits:30000546 8mm tape, Rational 1000, !projects 93-07-13 └─ ⟦124ff5788⟧ »DATA« └─⟦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;