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

Function ellipticKComplex

src/compute-engine/numerics/numeric-complex.ts:255–261  ·  view source on GitHub ↗
(m: Complex)

Source from the content-addressed store, hash-verified

253 a.isZero() ||
254 !Number.isFinite(a.re) ||
255 !Number.isFinite(a.im) ||
256 !Number.isFinite(z.re) ||
257 !Number.isFinite(z.im)
258 )
259 return a.div(z);
260 // The ordinary case keeps `a.div(z)`, Smith's unscaled formula, so that the
261 // call sites that used it before (the complex matrix field, the polynomial
262 // root finder, `Rational`) get the same quotient bit for bit; only an
263 // operand pair whose textbook intermediates leave the normal range takes
264 // the scaled route.

Callers 1

ellipticFComplexFunction · 0.85

Calls 6

agmComplexFunction · 0.85
equalsMethod · 0.65
divMethod · 0.65
sqrtMethod · 0.65
subMethod · 0.65
isNaNMethod · 0.45

Tested by

no test coverage detected