@neutrium/math - v2.2.0
    Preparing search index...

    Interface RationalEvaluationOptions<T>

    Controls for synchronous adaptive evaluation of rational enclosures.

    interface RationalEvaluationOptions<T> {
        equal?: (lower: T, upper: T) => boolean;
        initialPrecision?: number;
        maxExpansionDigits?: number;
        maxPrecision?: number;
    }

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index
    equal?: (lower: T, upper: T) => boolean

    Whether the endpoint results agree; defaults to Object.is, distinguishing signed zero.

    initialPrecision?: number

    First working precision; defaults to the smaller of 64 and maxPrecision.

    maxExpansionDigits?: number

    Nonnegative safe-integer decimal expansion budget; defaults to 4096.

    maxPrecision?: number

    Positive safe-integer working precision cap; defaults to 1,000,000.