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

Function slow

test/compute-engine/timeout.test.ts:170–178  ·  view source on GitHub ↗
(x: number)

Source from the content-addressed store, hash-verified

168 expect(result.re).toBe(40);
169 });
170
171 it('huge Totient completes within timeout', () => {
172 const result = ce.expr(['Totient', 1_000_000_000]).evaluate();
173 expect(result.re).toBe(400000000);
174 });
175
176 it('huge Sigma0 completes within timeout', () => {
177 const result = ce.expr(['Sigma0', 10_000_000_000]).evaluate();
178 expect(result.re).toBe(121);
179 });
180
181 it('huge Sigma1 completes within timeout', () => {

Callers

nothing calls this directly

Calls 1

sinMethod · 0.80

Tested by

no test coverage detected