Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortex-js/compute-engine
/ dec
Function
dec
benchmarks/gen_cases.py:52–53 ·
view source on GitHub ↗
(x, n)
Source
from the content-addressed store, hash-verified
50
51
52
def
dec(x, n):
53
return
mp.nstr(x, n, strip_zeros=False)
54
55
56
# Each case is a dict. `f` is the original function (mpmath). `inputs` gives the
Callers
2
real_roots
Function · 0.85
build
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected