MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / directed-rounding.test.ts

File directed-rounding.test.ts

test/big-decimal/directed-rounding.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { BigDecimal } from '../../src/big-decimal';
2
3// ROADMAP item 17 #7: directed rounding (toward −∞ / +∞) on the inexact ops
4// (div, sqrt) — the enabling primitive for a future interval-arithmetic mode.

Callers

nothing calls this directly

Calls 13

divTowardMethod · 0.80
sqrtTowardMethod · 0.80
toStringMethod · 0.65
divMethod · 0.65
isZeroMethod · 0.65
mulMethod · 0.65
sqrtMethod · 0.65
ltMethod · 0.45
eqMethod · 0.45
lteMethod · 0.45
gteMethod · 0.45
isFiniteMethod · 0.45

Tested by

no test coverage detected