Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustPython/RustPython
/ TestCeil
Class
TestCeil
Lib/test/test_math.py:420–422 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
418
#self.assertTrue(math.isnan(math.ceil(NAN)))
419
420
class
TestCeil:
421
def
__ceil__(self):
422
return
42
423
class
FloatCeil(float):
424
def
__ceil__(self):
425
return
42
Callers
1
testCeil
Method · 0.85
Calls
no outgoing calls
Tested by
1
testCeil
Method · 0.68