Description: |
Returns the parity of an integer. | ||

Class: |
Elemental function; Generic | ||

Arguments: |
I must be of type integer. | ||

Results: |
The result type is
the same as I. The result value is one if there are an odd number of
1 bits in the binary representation of the
integer I and zero if there are an even number.
The model for the interpretation of an integer value as a sequence of bits is shown in Section D.3. |

**Examples**

If the value of I is B'0...00011010110', the value of POPPAR(I) is 1.

Previous Page Next Page Table of Contents