Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortex-js/compute-engine
/ big-decimal.test.ts
File
big-decimal.test.ts
test/big-decimal/big-decimal.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ BigDecimal } from
'../../src/big-decimal'
;
2
import
{ fromRaw } from
'../../src/big-decimal/big-decimal'
;
3
import
{ bigintDigits } from
'../../src/big-decimal/utils'
;
4
Callers
nothing calls this directly
Calls
15
fromRaw
Function · 0.90
bigintDigits
Function · 0.90
rep
Function · 0.85
mk
Function · 0.85
toNumber
Method · 0.80
toFixed
Method · 0.80
toBigInt
Method · 0.80
cmp
Method · 0.80
trunc
Method · 0.80
mulToPrecision
Method · 0.80
toPrecision
Method · 0.80
mod
Method · 0.80
Tested by
no test coverage detected