Blockchain Commons Rand TypeScript Library - v1.0.0-alpha.13
    Preparing search index...

    Function fromMagnitude

    • Converts an unsigned magnitude back to a signed value. Simply reinterprets the bits.

      Parameters

      • magnitude: number
      • bits: 8 | 16 | 32

      Returns number