Search

( - [ number? z ] ... ) number?
With two or more arguments, this procedure returns the difference of its arguments, associating to the left. With one argument, however, it returns the additive inverse of its argument.
( - [ number? z ] ... ) number?
With two or more arguments, this procedure returns the difference of its arguments, associating to the left. With one argument, however, it returns the additive inverse of its argument.
( / [ number? z1 ] [ number? z2 ] ... ) number?
With two or more arguments, this procedure returns the quotient of its arguments, associating to the left. With one argument, however, it returns multiplicative inverse of its argument. It is an error if any argument of / other than the first is an exact zero. If the first argument is an exact zero, an implementation may return an exact zero unless one of the other arguments is a NaN.
( / [ number? z1 ] [ number? z2 ] ... ) number?
With two or more arguments, this procedure returns the quotient of its arguments, associating to the left. With one argument, however, it returns the multiplicative inverse of its argument.
( :range var stop ) generator-macro ( :range var1 ( index var2 ) stop ) generator-macro ( :range var start stop ) generator-macro ( :range var1 ( index var2 ) start stop ) generator-macro ( :range var start stop step ) generator-macro ( :range var1 ( index var2 ) start stop step ) generator-macro
start integer?
stop integer?
step integer?
( :real-range var stop ) generator-macro ( :real-range var1 ( index var2 ) stop ) generator-macro ( :real-range var start stop ) generator-macro ( :real-range var1 ( index var2 ) start stop ) generator-macro ( :real-range var start stop step ) generator-macro ( :real-range var1 ( index var2 ) start stop step ) generator-macro
start real?
stop real?
step real?
( < [ real? x1 ] [ real? x2 ] [ real? x3 ] ... ) boolean?
This procedure returns #t if its arguments are monotonically increasing, and #f otherwise. If any of the arguments are +nan.0, predicate returns #f. It does not distinguish between inexact zero and inexact negative zero. The predicate is transitive. Note: While it is not an error to compare inexact numbers using this predicate, the results are unreliable because a small inaccuracy can affect the result. When in doubt, consult a numerical analyst.
( <= [ real? x1 ] [ real? x2 ] [ real? x3 ] ... ) boolean?
This procedure returns #t if its arguments are monotonically non-decreasing, and #f otherwise. If any of the arguments are +nan.0, predicate returns #f. It does not distinguish between inexact zero and inexact negative zero. The predicate is transitive. Note: While it is not an error to compare inexact numbers using this predicate, the results are unreliable because a small inaccuracy can affect the result. When in doubt, consult a numerical analyst.
( <=? [ comparator? comparator ] object1 object2 object3 ... ) boolean?
=?, <?, >?, <=?, >=? These procedures are analogous to the number, character, and string comparison predicates of Scheme. They allow the convenient use of comparators to handle variable data types. These procedures apply the equality and ordering predicates of comparator to the objects as follows. If the specified relation returns #t for all objecti and objectj where n is the number of objects and 1 <= i < j <= n, then the procedures return #t, but otherwise #f. Because the relations are transitive, it suffices to compare each object with its successor. The order in which the values are compared is unspecified.