Next: System_vm, Previous: System_exceptions, Up: Standard Library
System.math
This package/class contains Kite's math-related classes.
System.math
Common Kite math functions.
Supported constants:
E
LOG2E
LOG10E
LN2
LN10
PI
PI_2
PI_4
ONE_PI
TWO_PI
TWO_SQRTPI
SQRT2
SQRT1_2
Supported methods:
acos(val)
val
.
asin(val)
val
.
atan(val)
val
.
atan(y,x)
y
/x
.
ceil(val)
val
.
cos(val)
val
.
cosh(val)
val
.
exp(val)
val
.
fabs(val)
val
.
floor(val)
val
.
fmod(dividend, divisor)
dividend
/ divisor
.
log(val)
val
.
log10(val)
val
.
pow(val, power)
val
to the power of power
.
sin(val)
val
.
sinh(val)
val
.
sqrt(val)
val
.
tan(val)
val
.
tanh(val)
val
.
erf(val)
val
.
erfc(val)
val
).
gamma(val)
val
.
hypot(x, y)
x
and y
.
j0(val)
j1(val)
lgamma(val)
val
.
y0(val)
y1(val)
isnan(val)
true
if val is NaN, false
otherwise.
acosh(val)
val
.
asinh(val)
val
.
atanh(val)
val
.
cbrt(val)
val
.
ilogb(val)
val
(as integer).
logb(val)
val
(as floating-point).
nextafter(x,y)
remainder(x,y)
x
/y
.
rint(val)
val
in direction of rounding mode.
scalb(x,n)
x
*r
^n
, where r is the radix of the machine's floating point arithmetic.