core.math
Builtin mathematical intrinsics
Source: core/_math.d
Functions 36
fn
long rndtol(float x) @nogc nothrow @safe pureReturns x rounded to a long value using the current rounding mode. If the integer value of x is greater than long.max, the result is indeterminate.fn
float fabs(float x) @safe pure nothrow @nogcCompute the absolute value. x fabs(x 0.0 +0.0 + ) It is implemented as a compiler intrinsic. Params: x = floating point value Returns: |x| References: equivalent to `std.math....fn
float rint(float x) @nogc nothrow @safe pureRounds x to the nearest integer value, using the current rounding mode. If the return value is not equal to x, the FE_INEXACT exception is raised. nearbyint performs the same operation, but does no...fn
float yl2x(float x, float y) @nogc nothrow @safe pureBuilding block functions, they translate to a single x87 instruction.