Next: EC functions, Previous: Comparisons, Up: MPI library [Contents][Index]
There are a couple of functions to get information on arbitrary bits in an MPI and to set or clear them:
Return the number of bits required to represent a.
Return true if bit number n (counting from 0) is set in a.
Set bit number n in a.
Clear bit number n in a.
Set bit number n in a and clear all bits greater than n.
Clear bit number n in a and all bits greater than n.
Shift the value of a by n bits to the right and store the result in x.
Shift the value of a by n bits to the left and store the result in x.