Module : lang.float
Module Overview
This module provides lang library operations on float
values defined by the language specification 2019R3.
abs | IEEE abs operation. |
acos | Returns the arccosine of a float value. Corresponds to IEEE acos operation |
asin | Returns the arcsine of a float value. Corresponds to IEEE asin operation. |
atan | Returns the arctangent of a float value. Corresponds to IEEE atan operation. |
atan2 | Performs the 2-argument arctangent operation. Corresponds IEEE atan2(y, x) operation. |
cbrt | Returns the cube root of a float value. Corresponds to IEEE rootn(x, 3) operation. |
ceiling | Rounds a float up to the closest integral value. |
cos | Returns the cosine of a float value. Corresponds to IEEE cos operation. |
cosh | Returns the hyperbolic cosine of a float value. Corresponds to IEEE cosh operation. |
exp | Raises Euler's number to a power. Corresponds to IEEE exp operation. |
floor | Rounds a float down to the closest integral value. |
fromBitsInt | Returns the float that is represented in IEEE 64-bit floating point by |
fromHexString | Return the float value represented by
|
fromString | Return the float value represented by
|
isFinite | Tests whether a float is finite. Exactly one of isFinite, isInfinite and IsNaN will be true for any float value |
isInfinite | Tests whether a float is infinite. Exactly one of isFinite, isInfinite and IsNaN will be true for any float value |
isNaN | Tests whether a float is NaN. Exactly one of isFinite, isInfinite and IsNaN will be true for any float value. |
log | Returns the natural logarithm of a float value Corresponds to IEEE log operation. |
log10 | Returns the base 10 logarithm of a float value. Corresponds to IEEE log10 operation. |
max | Maximum of zero or more float values. Result is -∞ if no args NaN if any arg is NaN |
min | Minimum of zero or more float values. Result is +∞ if no args Result is NaN if any arg is NaN |
pow | Raises one float value to the power of another float values. Corresponds to IEEE pow(x, y) operation. |
round | Round a float value to the closest integral value.
Returns the float value that is a mathematical integer and closest to |
sin | Returns the sine of a float value. Corresponds to IEEE sin operation. |
sinh | Returns the hyperbolic sine of a float value. Corresponds to IEEE sinh operation. |
sqrt | Returns the square root of a float value. Corresponds to IEEE squareRoot operation. |
sum | Sum of zero or more float values. Result is NaN if any arg is NaN |
tan | Returns the tangent of a float value. Corresponds to IEEE tan operation |
tanh | Returns the hyperbolic tangent of a float value. Corresponds to IEEE tanh operation. |
toBitsInt | Returns IEEE 64-bit binary floating point format representation of |
toHexString | Returns a string that represents
|
PI | The number π |
E | Euler's number |
NaN | IEEE not-a-number value |
Infinity | IEEE positive infinity |