Go to the
first,
previous,
next,
last section,
table of contents.
(truncate <expr>) TRUNCATES A FLOATING POINT NUMBER TO AN INTEGER
<expr> the number
returns the result of truncating the number
(float <expr>) CONVERTS AN INTEGER TO A FLOATING POINT NUMBER
<expr> the number
returns the result of floating the integer
(+ <expr>...) ADD A LIST OF NUMBERS
<expr> the numbers
returns the result of the addition
(- <expr>...) SUBTRACT A LIST OF NUMBERS OR NEGATE A SINGLE NUMBER
<expr> the numbers
returns the result of the subtraction
(* <expr>...) MULTIPLY A LIST OF NUMBERS
<expr> the numbers
returns the result of the multiplication
(/ <expr>...) DIVIDE A LIST OF NUMBERS
<expr> the numbers
returns the result of the division
(1+ <expr>) ADD ONE TO A NUMBER
<expr> the number
returns the number plus one
(1- <expr>) SUBTRACT ONE FROM A NUMBER
<expr> the number
returns the number minus one
(rem <expr>...) REMAINDER OF A LIST OF NUMBERS
<expr> the numbers
returns the result of the remainder operation
(min <expr>...) THE SMALLEST OF A LIST OF NUMBERS
<expr> the expressions to be checked
returns the smallest number in the list
(max <expr>...) THE LARGEST OF A LIST OF NUMBERS
<expr> the expressions to be checked
returns the largest number in the list
(abs <expr>) THE ABSOLUTE VALUE OF A NUMBER
<expr> the number
returns the absolute value of the number
(gcd <n1> <n2>...) COMPUTE THE GREATEST COMMON DIVISOR
<n1> the first number (integer)
<n2> the second number(s) (integer)
returns the greatest common divisor
(random <n>) COMPUTE A RANDOM NUMBER BETWEEN 1 and N-1
<n> the upper bound (integer)
returns a random number
(sin <expr>) COMPUTE THE SINE OF A NUMBER
<expr> the floating point number
returns the sine of the number
(cos <expr>) COMPUTE THE COSINE OF A NUMBER
<expr> the floating point number
returns the cosine of the number
(tan <expr>) COMPUTE THE TANGENT OF A NUMBER
<expr> the floating point number
returns the tangent of the number
(asin <expr>) COMPUTE THE ARC SINE OF A NUMBER
<expr> the floating point number
returns the arc sine of the number
(acos <expr>) COMPUTE THE ARC COSINE OF A NUMBER
<expr> the floating point number
returns the arc cosine of the number
(atan <expr>) COMPUTE THE ARC TANGENT OF A NUMBER
<expr> the floating point number
returns the arc tangent of the number
(expt <x-expr> <y-expr>) COMPUTE X TO THE Y POWER
<x-expr> the floating point number
<y-expr> the floating point exponent
returns x to the y power
(exp <x-expr>) COMPUTE E TO THE X POWER
<x-expr> the floating point number
returns e to the x power
(sqrt <expr>) COMPUTE THE SQUARE ROOT OF A NUMBER
<expr> the floating point number
returns the square root of the number
(< <n1> <n2>...) TEST FOR LESS THAN
(<= <n1> <n2>...) TEST FOR LESS THAN OR EQUAL TO
(= <n1> <n2>...) TEST FOR EQUAL TO
(/= <n1> <n2>...) TEST FOR NOT EQUAL TO
(>= <n1> <n2>...) TEST FOR GREATER THAN OR EQUAL TO
(> <n1> <n2>...) TEST FOR GREATER THAN
<n1> the first number to compare
<n2> the second number to compare
returns the result of comparing <n1> with <n2>...
Go to the
first,
previous,
next,
last section,
table of contents.