Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortex-js/compute-engine
/ precision-comparison.test.ts
File
precision-comparison.test.ts
test/big-decimal/precision-comparison.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* Precision comparison: BigDecimal vs Decimal.js
3
*
4
* Measures the exact number of correct significant digits
for
each operation
Callers
nothing calls this directly
Calls
15
precisionReport
Function · 0.85
gammaReport
Function · 0.85
bigGamma
Function · 0.85
matchingDigits
Function · 0.85
computeBernoulliEven
Function · 0.85
sin
Method · 0.80
cos
Method · 0.80
atan
Method · 0.80
withPrecision
Function · 0.70
factorial
Function · 0.70
toString
Method · 0.65
div
Method · 0.65
Tested by
no test coverage detected