SPARK Documentation

Module Name: SPARK (spark.lang.math)
Organization(s): SRI International
Generated On: 02 Aug 2006 11:37AM

Listing for module spark.lang.math

This is auto-generated documentation.

Contents:

Functions

acos $x
Returns the arccosine of $x in radians.
asin $x
Returns the arcsine of $x in radians.
atan $x
Returns the arctangent of $x in radians.
ceil $x
Returns the lowest integer i such that i is greater than or equal to $x as a floating-point value.
cos $x
Returns the cosine of $x in radians.
cosh $x
Returns the hyperbolic cosine of $x in radians.
exp $x
Returns e^$x
fabs $x
Returns the absolute value of $x.
float $x
Convert $x to an float if it is not already one
floor $x
Returns the highest integer i such that i is less then or equal to $x as a floating-point value.
fmod $x $y
Returns x%y.
hypot $x $y
Returns sqrt($x*$x + $y*$y)
integer $x
Convert $x to an integer if it is not already one
log $x
Returns the natural logarithm of $x.
log10 $x
Returns the base-10 logarithm of $x.
pow $x $y
Returns $x^$y.
sin $x
Returns the sine of $x in radians.
sinh $x
Returns the hyperbolic sine of $x in radians.
sqrt $x
Returns the square root of $x.
tan $x
Returns the tangent of $x.
tanh $x
Returns the hyperbolic tangent of $x.