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

File BigDecimal.ts

packages/effect/src/BigDecimal.ts  ·  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 15

makeNormalizedFunction · 0.85
makeNormalizedUnsafeFunction · 0.85
powerOfTenFunction · 0.85
divideWithPrecisionFunction · 0.85
EquivalenceFunction · 0.85
floorFunction · 0.85
sumFunction · 0.85
digitAtFunction · 0.85
isLessThanFunction · 0.85
isGreaterThanFunction · 0.85
someMethod · 0.80
BigIntInterface · 0.70

Tested by

no test coverage detected