Functions
The functions Tower.js provides hue closely to the corresponding function in the Racket docs. To get more information about how a function behaves, click the link to see the corresponding Racket doc.
Arithmetic
addsubtractmultiplydividequotientremaindermodulosqrsqrtintegerSqrtexptexplognumeratordenominatorgcdlcmabsfloorceilinground
Comparison
equalseqv(alias forequals)greaterThangreaterThanOrEquallessThanlessThanOrEqual
Predicates
isNumberisComplexisRealisRationalisIntegerisExactIntegerisExactNonNegativeIntegerisExactPositiveIntegerisInexactRealisFlonum(whether something is an unboxed Javascriptnumber)isZeroisPositiveisNegativeisEvenisOddisExactisInexactisRacketNumber(whether something is a Tower.js number)isFinite(whether aRackerNumberis finite)isNaNisNegativeZero(if an inexact number is-0.0)
Trigonometry
Complex Numbers
Bitwise Operations
Misc.
numberToStringinexactToExactexactToInexact