MCPcopy Create free account
hub / github.com/python/cpython / dot

Function dot

Modules/_decimal/tests/randdec.py:67–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65 return str(randrange(10**maxprec))
66
67def dot():
68 if randrange(2): return '.'
69 return ''
70
71def decimal_part(maxprec):
72 if randrange(100) > 60: # integers

Callers 3

plotFunction · 0.85
clockfaceFunction · 0.85
decimal_partFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected