File: ReelExpr.i3 Last Modified On Thu Aug 20 11:13:27 PDT 1992 By kalsow
INTERFACEreturns TRUE iff the operation was successfulReelExpr ; IMPORT Expr, Type, Target; PROCEDURE New (READONLY value: Target.Float): Expr.T;
PROCEDURE Compare (a, b: Expr.T; VAR sign: INTEGER): BOOLEAN; PROCEDURE Add (a, b: Expr.T; VAR c: Expr.T): BOOLEAN; PROCEDURE Subtract (a, b: Expr.T; VAR c: Expr.T): BOOLEAN; PROCEDURE Multiply (a, b: Expr.T; VAR c: Expr.T): BOOLEAN; PROCEDURE Divide (a, b: Expr.T; VAR c: Expr.T): BOOLEAN; PROCEDURE Mod (a, b: Expr.T; VAR c: Expr.T): BOOLEAN; PROCEDURE Min (a, b: Expr.T; VAR c: Expr.T): BOOLEAN; PROCEDURE Max (a, b: Expr.T; VAR c: Expr.T): BOOLEAN; PROCEDURE Negate (a: Expr.T; VAR c: Expr.T): BOOLEAN; PROCEDURE Abs (a: Expr.T; VAR c: Expr.T): BOOLEAN; PROCEDURE Floor (a: Expr.T; t: Type.T; VAR c: Expr.T): BOOLEAN; PROCEDURE Ceiling (a: Expr.T; t: Type.T; VAR c: Expr.T): BOOLEAN; PROCEDURE Trunc (a: Expr.T; t: Type.T; VAR c: Expr.T): BOOLEAN; PROCEDURE Round (a: Expr.T; t: Type.T; VAR c: Expr.T): BOOLEAN; PROCEDURE Float (a: Expr.T; t: Type.T; VAR c: Expr.T): BOOLEAN; END ReelExpr.