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

Function nonposInt

src/compute-engine/library/arithmetic.ts:861–862  ·  view source on GitHub ↗
(x: Expression | undefined)

Source from the content-addressed store, hash-verified

859 * `x` is the operand after its numeric approximation, and `original` is the
860 * same operand before it. `.N()` promises a result correct to the working
861 * precision, and a rounding function jumps at a point: the float of an exact
862 * operand near that point can be on its other side. The float of
863 * `(25! − 1)/24!` at 21 digits is `25`, but its floor is `24`. So an exact
864 * operand is rounded exactly (`roundExactReal()`), as Mathematica does
865 * (`N[Floor[(25! − 1)/24!]]` is `24.`).

Callers 1

arithmetic.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected