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

Function leadingSignAtInf

src/compute-engine/symbolic/limit.ts:883–887  ·  view source on GitHub ↗
(e: Expression, x: string, ce: ComputeEngine)

Source from the content-addressed store, hash-verified

881 if (
882 dom.length < terms.length &&
883 dom.some((t) => tendsToInfinity(t, x, ce) === true)
884 )
885 return dom.length === 1 ? dom[0] : ce.function('Add', dom);
886 return terms.length === 1 ? terms[0] : ce.function('Add', terms);
887 }
888
889 // Rewrite INSIDE an argument only under a head that is insensitive to a
890 // dominated additive term there: for these heads `f(x + o(x))` has the same

Callers 2

tendsToInfinityFunction · 0.85
leadingSignFunction · 0.85

Calls 2

numericAtFunction · 0.85
isNaNMethod · 0.45

Tested by

no test coverage detected