Function toFixedPoint

  • Converts floating point number to a fixed point tuple Size is number of bits allocated for the fractional Precision dictates a fixed number of decimal places for the fractional

    Parameters

    • floating: number
    • size: number
    • Optional precision: number

    Returns [number, number]

Generated using TypeDoc