sign-magnitude BigInteger

  • 参考

    • 构造函数

      • BigInteger(int signnum, byte[] magnitude)
      • 取值

        • signnum
  • 0 –> 0
  • -1 –> negative 负数
  • 1 –> positive 正数

    • byte[] magnitude
  • big-endian byte array

    • 高位在末尾(右侧)
    • 1000 0000 —> 0000 0001