Visible to Intel only — GUID: GUID-851DDE34-0B5D-4AA8-8B30-66065F057498
Visible to Intel only — GUID: GUID-851DDE34-0B5D-4AA8-8B30-66065F057498
POPPAR
Elemental Intrinsic Function (Generic): Returns the parity of the integer argument.
result = POPPAR (i)
i |
(Input) Must be of type integer or logical. |
The result type and kind are the same as i. The result value is 1 if there are an odd number of 1 bits in the binary representation of the integer I. The result value is zero if there are an even number.
POPPAR( i) is the same as 1 .AND. POPCNT( i).
The model for the interpretation of an integer value as a sequence of bits is shown in Model for Bit Data.
If the value of I is B'0...00011010110', the value of POPPAR(I) is 1.