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

Function ip

test/compute-engine/number-theory.test.ts:508–509  ·  view source on GitHub ↗
(n: bigint)

Source from the content-addressed store, hash-verified

506 ce.box(['RandomPrime', 24, 28]).evaluate().operator
507 ).toEqual('RandomPrime');
508 });
509});
510
511describe('large primes use the Miller-Rabin path (n ≥ 2^32)', () => {
512 const bn = (e: any[]) => BigInt(ce.box(e).evaluate().toString());

Callers 1

Calls 4

toStringMethod · 0.65
evaluateMethod · 0.65
boxMethod · 0.65
numberMethod · 0.65

Tested by

no test coverage detected