Import std.math.numbers
FloatingPoint
interface
Public Interface FloatingPoint Extends Bounded
Float32 and Float64, with what C's libm works out for each. Rounding is half away from 0, and Rem is C's fmod, which is exact.
-
The gap between 1 and the next value above it.
-
The Double as this type, rounded to the nearest
valueit holds. -
The largest whole number no larger than
value. -
The smallest whole number no smaller than
value. -
The whole number nearest
value, a half away from 0. -
valuewithout what's after its point: the whole number toward 0. -
The square root of
value, or NaN for a negative one. -
The cube root of
value. -
e to the power of
value. -
2 to the power of
value. -
The natural logarithm of
value. -
The base 2 logarithm of
value. -
The base 10 logarithm of
value. -
The sine of
value, in radians. -
The cosine of
value, in radians. -
The tangent of
value, in radians. -
The angle, in radians, whose sine is
value. -
The angle, in radians, whose cosine is
value. -
The angle, in radians, whose tangent is
value. -
The angle, in radians, of the point (
x,y) from the positive x axis, from -pi to pi. -
The hyperbolic sine of
value. -
The hyperbolic cosine of
value. -
The hyperbolic tangent of
value. -
The inverse hyperbolic sine of
value. -
The inverse hyperbolic cosine of
value. -
The inverse hyperbolic tangent of
value. -
What's left of
adivided byb, witha's sign, as C's fmod gives it. -
magnitude's size withsign's sign. -
atimesb, plusc, rounded once.
Report an issue with this page or with FutureBlitz on GitHub.