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

    Class DecimalCoreAdapter<C, Tier>

    Isolated Decimal core context with immutable numerical settings. Constructor and tier parameters allow richer adapters to inherit correctly typed core operations.

    Type Parameters

    • C extends DecimalConstructor = typeof Decimal
    • Tier extends NumericAdapter<unknown>["tier"] = "core"

    Hierarchy (View Summary)

    Implements

    Index
    • Capture current Decimal defaults. Specializations must supply their constructor and tier.

      Type Parameters

      • C extends CoreDecimalConstructor = typeof CoreDecimal
      • Tier extends "scientific" | "core" | "arithmetic" = "core"

      Parameters

      • options: DecimalConfigInput = {}
      • ...backend:
            | [Source: C, tier: Tier]
            | ([typeof CoreDecimal, "core"] extends [C, Tier] ? [] : never)

      Returns DecimalCoreAdapter<C, Tier>

    id: "decimal" = 'decimal'

    Diagnostic backend name.

    tier: Tier

    Available numerical capability tier.