FRAMES NO FRAMES | |||||||
| |||||||
SUMMARY: IMPORT | CONSTANT | MEMBER | ACTION | DETAIL: IMPORT | CONSTANT | MEMBER | ACTION |
< | Less-than comparison |
<= | Less-than or equal comparison |
= | Equal comparison |
!= | Not equal comparison |
>= | Greater-than or equal comparison |
> | Greater-than comparison |
+ | Unary float identity |
- | Unary float additive inverse |
+ | Float addition |
- | Float subtraction |
* | Float multiplication |
/ | Float division |
Constant summary | |
---|---|
float | E
Euler's constant, e (2.71828...). |
float | EPSILON
The smallest x where (1+x) > 1. |
float | INFINITY
IEEE 754 positive infinity. |
float | MAX
The largest positive float number (~2*10308). |
float | MIN
The smallest positive float number (~2*10-308). |
float | NAN
IEEE 754 Not-a-Number. |
float | PI
The ratio of a circle's circumference to its diameter (3.14159265...). |
Action summary | |
---|---|
float |
abs()
The absolute value of this float. |
float |
acos()
Calculate the inverse cosine of this number in radians. |
float |
acosh()
Calculate the inverse hyperbolic cosine of this number. |
float |
asin()
Calculate the inverse sine of this number in radians. |
float |
asinh()
Calculate the inverse hyperbolic sine of this number. |
float |
atan()
Calculate the inverse tangent of this number. |
float |
atan2(float d)
Calculate the two-parameter inverse tangent of this number and the argument. |
float |
atanh()
Calculate the inverse hyperbolic tangent of this number. |
boolean |
bitEquals(float other)
Bitwise comparison of two floats. |
boolean | static canParse(string s)
Check if the string argument can be successfully parsed as a float. |
float |
cbrt()
Return the cube root of this float. |
integer |
ceil()
Return the smallest possible integer that is greater than or equal to this float. |
float |
cos()
Calculate the cosine of this float in radians. |
float |
cosh()
Calculate the hyperbolic cosine of this float. |
float |
erf()
Calculate the error function of this float. |
float |
exp()
Raise e to the power of this float. |
integer |
exponent()
Return the exponent of this float. |
integer |
floor()
Return the largest possible integer that is less than or equal to this float. |
float |
fmod(float y)
Calculate x mod y where x is this float. |
string |
formatFixed(integer dp)
Render this float to a string with a fixed number of float places. |
string |
formatScientific(integer sf)
Render this float in scientific notation with the given number of significant figures. |
float |
fractionalPart()
Return the fractional component of this float. |
float |
gammal()
Calculate the logarithm of the gamma function. |
integer |
hash()
Get an integer hash representation of the underlying object. |
integer |
ilogb()
Calculate the integer binary logarithm of this float. |
integer |
integralPart()
Return the integer component of this float. |
boolean |
isFinite()
Check if this float is finite. |
boolean |
isInfinite()
Check if this float is infinite. |
boolean |
isNaN()
Check if this float is a Not-a-Number value. |
float |
ln()
Calculate the natural logarithm of this float. |
float |
log10()
Calculate the logarithm of this float in base 10. |
float |
mantissa()
Return the mantissa of this float. |
float | static max(float a, float b)
Return the larger of two floats. |
float | static min(float a, float b)
Return the smaller of two floats. |
float |
nextAfter(float towards)
Return the next distinct float number after this float in the direction of the argument. |
float | static parse(string s)
Parse a string to a float. |
float |
pow(float y)
Calculate this float raised to the power of another float. |
float |
rand()
Generate a random value between 0.0 and this float. |
integer |
round()
Return the nearest integer to this float. |
float |
scalbn(integer n)
Scale this float by a power of 10. |
float |
sin()
Calculate the sine of this float in radians. |
float |
sinh()
Computes the hyperbolic sine of this float in radians. |
float |
sqrt()
Calculate the square-root of this float. |
float |
tan()
Computes the tangent of this float in radians. |
float |
tanh()
Computes the hyperbolic tangent of this float in radians. |
decimal |
toDecimal()
Convert this float to a decimal. |
string |
toString()
Convert this float to a string. |
Constant detail |
---|
float EEuler's constant, e (2.71828...).
float EPSILONThe smallest x where (1+x) > 1.
float INFINITYIEEE 754 positive infinity.
float MAXThe largest positive float number (~2*10308).
float MINThe smallest positive float number (~2*10-308).
float NANIEEE 754 Not-a-Number.
float PIThe ratio of a circle's circumference to its diameter (3.14159265...).
Action detail |
---|
float abs()The absolute value of this float.
float acos()Calculate the inverse cosine of this number in radians.
float acosh()Calculate the inverse hyperbolic cosine of this number.
float asin()Calculate the inverse sine of this number in radians.
float asinh()Calculate the inverse hyperbolic sine of this number.
float atan()Calculate the inverse tangent of this number.
float atan2(float d)Calculate the two-parameter inverse tangent of this number and the argument.
float atanh()Calculate the inverse hyperbolic tangent of this number.
boolean bitEquals(float other)Bitwise comparison of two floats.
boolean static canParse(string s)Check if the string argument can be successfully parsed as a float.
float cbrt()Return the cube root of this float.
integer ceil()Return the smallest possible integer that is greater than or equal to this float.
float cos()Calculate the cosine of this float in radians.
float cosh()Calculate the hyperbolic cosine of this float.
float erf()Calculate the error function of this float.
float exp()Raise e to the power of this float.
integer exponent()Return the exponent of this float.
integer floor()Return the largest possible integer that is less than or equal to this float.
float fmod(float y)Calculate x mod y where x is this float.
string formatFixed(integer dp)Render this float to a string with a fixed number of float places.
string formatScientific(integer sf)Render this float in scientific notation with the given number of significant figures.
float fractionalPart()Return the fractional component of this float.
float gammal()Calculate the logarithm of the gamma function.
integer hash()Get an integer hash representation of the underlying object.
integer ilogb()Calculate the integer binary logarithm of this float.
integer integralPart()Return the integer component of this float.
boolean isFinite()Check if this float is finite.
boolean isInfinite()Check if this float is infinite.
boolean isNaN()Check if this float is a Not-a-Number value.
float ln()Calculate the natural logarithm of this float.
float log10()Calculate the logarithm of this float in base 10.
float mantissa()Return the mantissa of this float.
float static max(float a, float b)Return the larger of two floats.
float static min(float a, float b)Return the smaller of two floats.
float nextAfter(float towards)Return the next distinct float number after this float in the direction of the argument.
float static parse(string s)Parse a string to a float.
float pow(float y)Calculate this float raised to the power of another float.
float rand()Generate a random value between 0.0 and this float.
integer round()Return the nearest integer to this float.
float scalbn(integer n)Scale this float by a power of 10.
float sin()Calculate the sine of this float in radians.
float sinh()Computes the hyperbolic sine of this float in radians.
float sqrt()Calculate the square-root of this float.
float tan()Computes the tangent of this float in radians.
float tanh()Computes the hyperbolic tangent of this float in radians.
decimal toDecimal()Convert this float to a decimal.
string toString()Convert this float to a string.
FRAMES NO FRAMES | |||||||
| |||||||
SUMMARY: IMPORT | CONSTANT | MEMBER | ACTION | DETAIL: IMPORT | CONSTANT | MEMBER | ACTION |