A 64-bit floating point number. A Float is capable of
approximately representing numeric values between
2-1022 and (2-2-52)×21023,
along with the special values infinity and -infinity,
and undefined values (Not a Number). Zero is represented
by distinct instances +0, -0, but these instances
are equal. An undefined value is not equal to any other
value, not even to itself.
| Constructor |
| Float() |
| Attributes | |
| finite | Source Code shared Boolean finite |
| infinite | Source Code shared Boolean infinite |
| negative | Source Code shared formal Boolean negative Determines if this value is a negative number or
|
| positive | Source Code shared formal Boolean positive Determines if this value is a positive number or
|
| sign | Source Code shared formal Integer sign The sign of this value. Produces |
| strictlyNegative | Source Code shared formal Boolean strictlyNegative Determines if this value is a negative number,
|
| strictlyPositive | Source Code shared formal Boolean strictlyPositive Determines if this value is a positive number,
|
| undefined | Source Code shared Boolean undefined Determines whether this value is undefined (that is, Not a Number or NaN).
The undefined value has the property that it is not equal ( |
| Inherited Attributes |
| Attributes inherited from: Object |
| Attributes inherited from: Invertable<Inverse> |
| Attributes inherited from: Number |
| Inherited Methods |
| Methods inherited from: Object |
| Methods inherited from: Castable<Types> |
| Methods inherited from: Comparable<Other> |
| Methods inherited from: Exponentiable<This,Other> |
| Methods inherited from: Numeric<Other> |
| Methods inherited from: Summable<Other> |