Primitive type float
The primitive type of floating-point numbers, represented with 64-bit precision.
Predicates
| abs | Returns the absolute value of the receiver |
| acos | Returns the inverse cosine of the receiver |
| asin | Returns the inverse sine of the receiver |
| atan | Returns the inverse tangent of the receiver |
| ceil | Returns the smallest integer greater than or equal to the receiver |
| ceilFloat | Returns the smallest float that is a mathematical integer greater than or equal to the receiver. The result is equal to the receiver if the receiver is |
| copySign | Returns the floating point number with the magnitude of the receiver and the sign of the argument. |
| cos | Returns the cosine of the receiver |
| cosh | Returns the hyperbolic cosine of the receiver |
| exp | Returns e (the base of the natural logarithm) raised to the power of the receiver |
| floor | Returns the largest integer that is not greater than the receiver |
| floorFloat | Returns the largest float that is a mathematical integer smaller than or equal to the receiver. The result is equal to the receiver if the receiver is |
| log | Returns the natural logarithm of the receiver |
| log | Returns the logarithm of the receiver in the given base |
| log | Returns the logarithm of the receiver in the given base |
| log10 | Returns the base-10 logarithm of the receiver |
| log2 | Returns the base-2 logarithm of the receiver |
| maximum | Returns the larger of the receiver and the argument |
| maximum | Returns the larger of the receiver and the argument |
| minimum | Returns the smaller of the receiver and the argument |
| minimum | Returns the smaller of the receiver and the argument |
| nextAfter | Returns the number adjacent to the receiver in the direction of the argument. |
| nextDown | Returns the number adjacent to the receiver in the direction of negative infinity. |
| nextUp | Returns the number adjacent to the receiver in the direction of positive infinity. |
| pow | Returns the receiver raised to the given power |
| pow | Returns the receiver raised to the given power |
| signum | Returns the sign of the receiver: zero if it is zero, 1.0 if it is greater than zero, -1.0 if it is less than zero. |
| sin | Returns the sine of the receiver |
| sinh | Returns the hyperbolic sine of the receiver |
| sqrt | Returns the square root of the receiver |
| tan | Returns the tangent of the receiver |
| tanh | Returns the hyperbolic tangent of the receiver |
| toString | Returns a string representation of the receiver |
| ulp | Returns the ULP (unit in last place) of the receiver. |