ID EN
Math

ulp

Python 3.11

Return the value of the least significant bit of the float x:

Syntax

PYTHON
math.ulp(x)

See Also

sys.float_info.min math.nextafter() sys.float_info.epsilon