[procedure] integer-compare x y
[procedure] rational-compare x y
[procedure] real-compare x y
[procedure] complex-compare x y
[procedure] number-compare x y
SRFI-67: Compare two numbers. It is an error if an argument is not of the type specified by the name of the procedure.
Complex numbers are ordered lexicographically on pairs (re, im). For objects representing real numbers sign(x - y) is computed. The ordering for values satisfying real? or complex? but not representing a real or complex number should be consistent with procedures = and < of R5RS , and apart from that it is unspecified.
About This Site
Concept:CaseSensitivity Concept:ExtendedLambdaList Concept:FileSystem Concept:HashTable Concept:Module Concept:Networking Concept:ObjectSystem Concept:Process Concept:RegularExpression Concept:UserGroup