Function lerp

  • Linearly interpolate a bigint between two bigints.

    Returns

    ∈ [x, y]

    Parameters

    • x: bigint

      start bigint

    • y: bigint

      stop bigint

    • t: number

      interpolant ∈ [0, 1]

    Returns bigint

Generated using TypeDoc