summaryrefslogtreecommitdiff
path: root/lib/cycle-check.c
AgeCommit message (Collapse)Author
2004-07-28(is_zero_or_power_of_two): Renamed fromPaul Eggert
is_power_of_two, to reflect better what it really does. All uses changed. Arg is now uintmax_t, not unsigned int (it should have been unsigned long int -- that was a bug). (cycle_check): Check for integer overflow in cycle count, and report a cycle if that happens, as it must be a cycle by this point.
2003-06-06Include <stdbool.h> unconditionally.Jim Meyering
2003-01-19Include config.h.Jim Meyering
Add copyright.
2003-01-03.Jim Meyering