Return the absolute value of x.
Return the ceiling of x as a float, the smallest integer value greater than or equal to x.
Return x factorial. Raises error if x is not integral or is negative.
Return the floor of x as a float, the largest integer value less than or equal to x.
The intent of the C standard is that fmod(x, y) be exactly (mathematically; to infinite precision) equal to x - n*y for some integer n such that the result has the same sign as x and magnitude less than abs(y).
Return the mantissa and exponent of x as the pair (m, e). m is a float and e is an integer such that x == m * 2**e exactly. If x is zero, returns (0.0, 0), otherwise 0.5 <= abs(m) < 1. This is used to "pick apart" the internal representation of a float in a portable way.
Return an accurate floating point sum of values in the iterable. Avoids loss of precision by tracking multiple intermediate partial sums.
The algorithm’s accuracy depends on IEEE-754 arithmetic guarantees and the typical case where the rounding mode is half-even. On some non-Windows builds, the underlying C library uses extended precision addition and may occasionally double-round an intermediate sum causing it to be off in its least significant bit.
Check if the float x is positive or negative infinity.
Check if the float x is a NaN (not a number). For more information on NaNs, see the IEEE 754 standards.
Return x * (2**i). This is essentially the inverse of function frexp().
Get the smallest value in the list provided.
Get the largest value in the list provided.
Return the fractional and integer parts of x. Both results carry the sign of x and are floats.
Return the negative of x (-x).
Return the positive of x (+x).
Return the floating point value number rounded to ndigits digits after the decimal point. If ndigits is omitted, it defaults to zero. The result is a floating point number. Values are rounded to the closest multiple of 10 to the power minus ndigits; if two multiples are equally close, rounding is done away from 0 (so, for example, round(0.5) is 1.0 and round(-0.5) is -1.0).
Return the Real value x truncated to an Integral (usually a long integer).