5 lines
95 B
Python
5 lines
95 B
Python
def fequal(x, y, delta=1e-6):
|
|
if x == y:
|
|
return True
|
|
return abs(x - y) < delta
|