Extracted from Pike v7.6 release 61 at 2005-12-30.
pike.ida.liu.se
[Top]
Int

Method Int.parity()


Method parity

int(0..1) Int.parity(int(0..) value)

Description

Returns the parity of the integer value . If the parity is odd 1 is returned. If it is even 0 is returned.