Module float_extras::f64 [] [src]

Functions

copysign

copysign returns a value whose absolute value matches that of x, but whose sign bit matches that of y.

erf

erf returns the error function of x, defined as

erfc

erfc returns the complementary error function of x, that is, 1.0 - erf(x).

fdim

fdim returns the positive difference, max(x-y,0), between their arguments.

fma

fma computes x * y + z. The result is rounded as one ternary operation according to the current rounding mode.

fmod

fmod computes the floating-point remainder of dividing x by y. The return value is x - n * y, where n is the quotient of x / y, rounded toward zero to an integer.

frexp

frexp is used to split the number x into a normalized fraction and an exponent which is stored in exp.

ilogb

iligb returns the exponent part of their argument as a signed integer.

ldexp

ldexp returns the result of multiplying the floating-point number x by 2 raised to the power exp.

lgamma

lgamma returns the natural logarithm of the absolute value of the Gamma function.

logb

logb extracts the exponent from the internal floating-point representation of x and return it as a floating-point value.

lround

lround rounds their argument to the nearest integer value, rounding away from zero.

modf

modf breaks the argument x into an integral part and a fractional part, each of which has the same sign as x.

nextafter

nextafter returns the next representable floating-point value following x in the direction of y. If y is less than x, these functions will return the largest representable number less than x.

remainder

remainder compute the remainder of dividing x by y. The return value is x-ny, where n is the value x / y, rounded to the nearest integer. If the absolute value of x-ny is 0.5, n is chosen to be even.

remquo

remquo computes the remainder and part of the quotient upon division of x by y.

scalbn

scalbn multiplies their first argument x by FLT_RADIX (probably 2) to the power of exp, that is:

tgamma

tgamma calculates the Gamma function of x.