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.Object; -- public structure;
Structure Operations
ShortPrintName:
AC.ToRopeOp;
Characteristic:
AC.StructureRankOp;
IsReals: AC.UnaryPredicate;
Conversion and I/O
CanRecast:
AC.BinaryPredicate;
LegalFirstChar:
AC.LegalFirstCharOp;
FromREAL:
PROC [int:
REAL]
RETURNS [Real];
ToREAL: PROC [int: Real] RETURNS [REAL];
Comparison
Sign:
AC.CompareToZeroOp;
Compare:
AC.BinaryCompareOp;
Equal: AC.BinaryPredicate;
END.