Function remap

  • Re-map a bigint from one range to another.


    ∈ [ymin, ymax]


    • x: bigint

      a bigint

    • r: bigint

      lower bound of current range

    • R: bigint

      upper bound of current range

    • t: bigint

      lower bound of target range

    • T: bigint

      upper bound of target range

    Returns bigint

Generated using TypeDoc