Function f64ToBytes

  • Converts a 64-bit floating-point number (f64) into a Uint8Array.

    Parameters

    • val: number

      The BigInt to convert

    Returns Uint8Array

    A Uint8Array containing the serialized f64 value