Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ un_randfloat
Function
un_randfloat
Modules/_decimal/tests/randfloat.py:232–237 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
230
]
231
232
def
un_randfloat():
233
for
i in range(1000):
234
l = random.choice(TESTCASES[:6])
235
yield
random.choice(l)
236
for
v in test_particular:
237
yield
v
238
239
def
bin_randfloat():
240
for
i in range(1000):
Callers
1
all_unary
Function · 0.90
Calls
1
choice
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…