Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yuubi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
211.
▲
by
yuubi
13y ago
The important bit seems to be the behavior of the _Bool type, not the macroness (also, the [Future Directions section of the Open Group spec]( http://pubs.opengroup.org/onlinepubs/007904875/basedefs/stdb... ) s
212.
▲
by
yuubi
13y ago
C99 6.3.1.2 requires that converting nonzero to _Bool yields a 1. An int doesn't work that way.