From 78dd44d657fa65a8029d996aaf7ac05d2133f509 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Mon, 1 Jun 2009 06:10:07 +0000 Subject: * interp/compiler.boot (compGreaterThan): New. Compile greater-than expressions. * interp/parse.boot (parseGreaterThan): Remove. * algebra/data.spad.pamphlet (Byte): Implement all comparison functions. * algebra/integer.spad.pamphlet (Integer): Likewise. * algebra/sf.spad.pamphlet (DoubleFloat): Likewise. * algebra/si.spad.pamphlet (SingleInteger): Likewise. * algebra/string.spad.pamphlet (Character): Likewise. --- src/algebra/integer.spad.pamphlet | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/algebra/integer.spad.pamphlet') diff --git a/src/algebra/integer.spad.pamphlet b/src/algebra/integer.spad.pamphlet index ee06f056..6965144e 100644 --- a/src/algebra/integer.spad.pamphlet +++ b/src/algebra/integer.spad.pamphlet @@ -181,6 +181,9 @@ Integer: Join(IntegerNumberSystem, ConvertibleTo String, OpenMath) with random(x) == RANDOM(x)$Lisp x = y == EQL(x,y)$Lisp x < y == (x y == (x > y)$Lisp -- Don't rely on default; help the inliner + x <= y == (x <= y)$Lisp -- Ditto + x >= y == (x >= y)$Lisp -- Ditto - x == (-x)$Lisp x + y == (x+y)$Lisp x - y == (x-y)$Lisp -- cgit v1.2.3