core.math
Builtin mathematical intrinsics
Source: core/_math.d
Functions 36
fn
double cos(double x)fn
real cos(real x)fn
double sin(double x)fn
real sin(real x)fn
long rndtol(float x)Returns 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
long rndtol(double x)fn
long rndtol(real x)fn
double sqrt(double x)fn
real sqrt(real x)fn
double ldexp(double n, int exp)fn
real ldexp(real n, int exp)fn
float fabs(float x)Compute 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
double fabs(double x)fn
real fabs(real x)fn
float rint(float x)Rounds x to the nearest integer value, using the current rounding mode. If the return value is not equal to x, the FEINEXACT exception is raised. nearbyint performs the same operation, but does not...fn
double rint(double x)fn
real rint(real x)fn
double yl2x(double x, double y)fn
real yl2x(real x, real y)fn
float yl2xp1(float x, float y)fn
double yl2xp1(double x, double y)fn
real yl2xp1(real x, real y)