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

Function E

test/compute-engine/special-functions.test.ts:1090–1090  ·  view source on GitHub ↗
(x: number)

Source from the content-addressed store, hash-verified

1088 test(`${name} to full precision (p=${p})`, () => {
1089 const ce = new ComputeEngine();
1090 ce.precision = p;
1091 const a = ce.parse(lhs).N().toString();
1092 const b = ce.parse(rhs).N().toString();
1093 expect(matchingSigDigits(a, b)).toBeGreaterThanOrEqual(p - 2);

Callers 1

Calls 2

NMethod · 0.65
exprMethod · 0.65

Tested by

no test coverage detected