Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
{ 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
divToward
Method · 0.80
sqrtToward
Method · 0.80
toString
Method · 0.65
div
Method · 0.65
isZero
Method · 0.65
mul
Method · 0.65
sqrt
Method · 0.65
lt
Method · 0.45
eq
Method · 0.45
lte
Method · 0.45
gte
Method · 0.45
isFinite
Method · 0.45
Tested by
no test coverage detected