Home
/
Python 3.11
/
Math
/
ulp
Python 3.0
Python 3.9
Python 3.11
Functions
ID
EN
…
Math
ulp
Python 3.11
Return the value of the least significant bit of the float x:
Syntax
PYTHON
Copy
math.ulp(x)
See Also
sys.float_info.min
math.nextafter()
sys.float_info.epsilon