Reals.mesa
Last Edited by: Arnon, June 10, 1985 4:19:22 pm PDT
DIRECTORY
Rope,
Basics,
IO,
AlgebraClasses;
Reals: CEDAR DEFINITIONS
= BEGIN OPEN AC: AlgebraClasses;
Types and Variables
Real: TYPE = AC.Object;
RealData: TYPE = REF REAL;
Reals: AC.Structure;
I/O and Conversion
Write: AC.WriteOp;
FromREAL: PROC [int: REAL] RETURNS [Real];
ToREAL: PROC [int: Real] RETURNS [REAL];
Arithmetic
Multiply: AC.BinaryOp;
Comparison
Sign:
AC.CompareToZeroOp;
Compare:
AC.BinaryCompareOp;
Equal: AC.EqualityOp;
END.