Mathematica > ビット単位の演算 >

BitLength

BitLength[n]
整数 n を表すのに必要なバイナリビットの個数を与える.
  • 正の数 n に対して,BitLength[n]は,実質的にFloor[Log[2, n]]+1のより効率的なバージョンである.
バージョン 6 の新機能
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team