Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ from_triple
Function
from_triple
Modules/_decimal/tests/randdec.py:146–147 ·
view source on GitHub ↗
(sign, coeff, exp)
Source
from the content-addressed store, hash-verified
144
return
(sign, coeff, exp)
145
146
def
from_triple(sign, coeff, exp):
147
return
''
.join((str(sign*coeff), indicator(), str(exp)))
148
149
150
# Close to 10**n
Callers
8
un_close_to_pow10
Function · 0.85
bin_close_to_pow10
Function · 0.85
un_incr_digits
Function · 0.85
un_incr_digits_tuple
Function · 0.85
bin_incr_digits
Function · 0.85
tern_incr_digits
Function · 0.85
logical_un_incr_digits
Function · 0.85
logical_bin_incr_digits
Function · 0.85
Calls
3
str
Function · 0.85
indicator
Function · 0.85
join
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…