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

Function root

src/compute-engine/interval/elementary.ts:306–307  ·  view source on GitHub ↗
(x: number)

Source from the content-addressed store, hash-verified

304 Math.pow(baseVal.hi, expVal.lo),
305 Math.pow(baseVal.hi, expVal.hi),
306 ];
307 return ok({ lo: Math.min(...corners), hi: Math.max(...corners) });
308}
309
310/** The point interval 1, the dividend of the reciprocal in `powRationalRaw`.

Callers 1

nthRootFunction · 0.70

Calls 3

signMethod · 0.80
powMethod · 0.65
absMethod · 0.65

Tested by

no test coverage detected