MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / ops-bench.py

File ops-bench.py

benchmarks/big-decimal/ops-bench.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# mpmath reference column for the BigDecimal primitive-op microbench.
2# Like-for-like philosophy (per BIGNUM-COMPARISON.md): mpmath is the raw bignum
3# engine SymPy sits on, so mpmath.mpf ops at mp.dps = prec are the truest
4# reference for CE's BigDecimal ops. mpmath is BINARY and always-normalized, so

Callers

nothing calls this directly

Calls 10

rangeFunction · 0.85
roundFunction · 0.85
cosMethod · 0.80
mkPFunction · 0.70
mkSmallFunction · 0.70
onceFunction · 0.70
sqrtMethod · 0.65
logMethod · 0.65
expMethod · 0.65
printFunction · 0.50

Tested by

no test coverage detected