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

Function matchingSigDigits

test/compute-engine/special-functions.test.ts:733–739  ·  view source on GitHub ↗
(a: string, b: string)

Source from the content-addressed store, hash-verified

731 expectApprox(ce.expr(['BesselK', 0, 100]), 4.656628229175902e-45, 1e-12);
732 });
733});
734
735describe('AIRY Ai FUNCTION', () => {
736 test('Ai(0) ≈ 0.35502805388781724', () => {
737 expectApprox(ce.expr(['AiryAi', 0]), 0.35502805388781724, 1e-8);
738 });
739
740 test('Ai(1) ≈ 0.13529241631288141', () => {
741 expectApprox(ce.expr(['AiryAi', 1]), 0.13529241631288141, 1e-12);
742 });

Callers 1

identityFunction · 0.70

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected