メインコンテンツまでスキップ
バージョン:25.2

bitLength

  • global property

  • new in 2.06

  • The bitLength global property controls the number of bits used by the bitwise operators. The bitLength is 64 by default, which treats numbers as 64-bit signed integers for purposes of bit operations. Setting the bitLength to anything less than 64 will treat the results of any bit operations as unsigned integers.

  • Example:

    set the bitLength to 32
  • Related: bitNot, bitAnd, bitOr, bitXor, bitShift