Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 427 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 427 Bytes

Is Even

C++ program that generates a C program that checks whether a number is even or odd through an unoptimized series of if statements.

Compilation

make MAX=65535

The MAX argument is the number of if statement branches to produce. The largest value possible is 18446744073709551614 (2^64 - 1).

By default, MAX is defined to be 65535.

Warning: It takes a VERY long time to compile for large MAX values.