|
SOLUTIONS
|
MATHEMATICA 組込みシンボル
BitShiftRight
BitShiftRight[n, k]
右側で単位位置を超えてシフトされたビットは除いて,整数 n のバイナリビットを右側に k 桁シフトする.
BitShiftRight[n]
右側に1ビットシフトする.
詳細詳細
- BitShiftRight[n, k]はIntegerPart[n/2^k]と等価である.
- k の値が負の場合は左にシフトする.
バージョン 6 の新機能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
