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: 963 (0x3c3) 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_Number 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_Number;