Run
import math x = math.inf result = math.ulp(x) print('ulp(x) :', result)
Output