MCPcopy 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

precisionReportFunction · 0.85
gammaReportFunction · 0.85
bigGammaFunction · 0.85
matchingDigitsFunction · 0.85
computeBernoulliEvenFunction · 0.85
sinMethod · 0.80
cosMethod · 0.80
atanMethod · 0.80
withPrecisionFunction · 0.70
factorialFunction · 0.70
toStringMethod · 0.65
divMethod · 0.65

Tested by

no test coverage detected