Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ TestCeil
Class
TestCeil
Lib/test/test_math.py:389–391 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
387
#self.assertTrue(math.isnan(math.ceil(NAN)))
388
389
class
TestCeil:
390
def
__ceil__(self):
391
return
42
392
class
FloatCeil(float):
393
def
__ceil__(self):
394
return
42
Callers
1
testCeil
Method · 0.85
Calls
no outgoing calls
Tested by
1
testCeil
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…