MCPcopy Create free account
hub / github.com/Effect-TS/effect / BigDecimal.ts

File BigDecimal.ts

packages/effect/src/BigDecimal.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Decimal numbers and arithmetic for cases where JavaScript `number` rounding
3 * is not precise enough. A `BigDecimal` stores digits as a `bigint` plus a
4 * decimal scale, which lets the module parse, compare, add, subtract, multiply,

Callers

nothing calls this directly

Calls 14

makeNormalizedUnsafeFunction · 0.85
divideWithPrecisionFunction · 0.85
EquivalenceFunction · 0.85
isLessThanFunction · 0.85
isGreaterThanFunction · 0.85
someMethod · 0.80
BigIntInterface · 0.70
makeFunction · 0.70
signFunction · 0.70
truncateFunction · 0.70
isPositiveFunction · 0.70
isNegativeFunction · 0.70

Tested by

no test coverage detected