DoubleExtension extension
- on
Properties
- nextDown → double
-
Returns the nearest double in direction of negative infinity.
no setter
- nextUp → double
-
Returns the nearest double in direction of positive infinity.
no setter
- ulp → double
-
Returns the url (unit in the last place) of this value, that is the
positive spacing between two consecutive floating-point numbers.
no setter
Methods
-
nextTowards(
double other) → double -
Returns the nearest double in direction of
other
. If this is identical toother
, other is returned.