Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ assert_equal_float
Function
assert_equal_float
Lib/test/test_math_property.py:11–12 ·
view source on GitHub ↗
(x, y)
Source
from the content-addressed store, hash-verified
9
10
11
def
assert_equal_float(x, y):
12
assert isnan(x) and isnan(y) or x == y
13
14
15
def
via_reduce(x, y, steps):
Callers
2
test_count
Method · 0.85
test_addition_commutes
Method · 0.85
Calls
1
isnan
Function · 0.90
Tested by
no test coverage detected