• Generate a random 32-bit number between (0x000000..0xFFFFFFFF) or (-0x80000000..0x7FFFFFFF), using MWC (Multiply with carry) instead of Math.random() defaults to un-signed. Used as a replacement random generator for IE to avoid issues with older IE instances.

    Parameters

    • Optionalsigned: boolean

      True to return a signed 32-bit number (-0x80000000..0x7FFFFFFF) otherwise an unsigned one (0x000000..0xFFFFFFFF)

    Returns number