1.0.2 • Published 3 years ago

parity-checker v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Provides functions for parity checking.

Determining the parity of integers is a difficult task. Howecver, as a service to the reader we provide the following function. The function returnTrueIfOdd returns true if applied to an odd integer. As a supplement, the function returnTrueIfNotOdd returns true if applied to an integer that isn't odd. Also, same functions are provided for checking even numbers - returnTrueIfEven, returnTrueIfNotEven.

The author has formally verified that these functions satisfy their specifications.

1.0.2

3 years ago

1.2.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago