MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / rep

Function rep

test/big-decimal/big-decimal.test.ts:6–8  ·  view source on GitHub ↗
(d: BigDecimal)

Source from the content-addressed store, hash-verified

4
5// Helper to check internal representation
6function rep(d: BigDecimal): { sig: bigint; exp: number } {
7 return { sig: d.significand, exp: d.exponent };
8}
9
10// ================================================================
11// Construction from strings

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected