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

Function cantorEnumerateIntegers

src/compute-engine/numerics/numeric.ts:460–467  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

458 * The relative rounding error of a machine-precision angle that the pole
459 * rule of `Tan`, `Cot`, `Sec` and `Csc` allows: 100 ulps, `100·2⁻⁵³` (about
460 * `1.1·10⁻¹⁴`). `2⁻⁵³` is half an ulp of a double relative to its
461 * magnitude, the largest relative error of one rounding. The factor 100 is
462 * two decimal digits of guard, as in the big-decimal rule, whose allowed
463 * error is `10^(2 − precision)` (`dustScale` in
464 * `boxed-expression/trigonometry.ts`).
465 */
466export const TRIG_POLE_EPSILON = 100 * 2 ** -53;
467
468/**
469 * The largest magnitude of the argument that the pole rule of `Tan`, `Cot`,
470 * `Sec` and `Csc` uses to scale its allowed error: `2⁴⁰` (about

Callers 1

integerIteratorFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected