Re:Let's Destroy C
by kaetemi on Thursday January 30, 2020 @03:39AM
(#22189864)
Most cases I've seen accept anything as true as long as the LSB is 1, and quite strictly 0 as false. Everything else is up in the air. The value -1 is definitely true. :)
[ Parent
| on HN ]
One could say that -1 is the truest true, because its two's-complement representation has the most 1s.
True.
> The value -1 is definitely true
Except when being used as a comparison to any of the std utilities.