MHLoppy@fedia.io to Programmer Humor · 2 days agoisInHell = 'true'fedia.ioimagemessage-square79fedilinkarrow-up1633arrow-down13file-text
arrow-up1630arrow-down1imageisInHell = 'true'fedia.ioMHLoppy@fedia.io to Programmer Humor · 2 days agomessage-square79fedilinkfile-text
minus-squareTjalinkfedilinkarrow-up4·16 hours agoAkcshually we use 0 and “not equal 0”, since “not 0” would be 0xFF…FF, and (at least gcc) gives back a 1 for a true expression. No idea about the spec, probably undefined…
minus-squarenpcknapsack@lemmy.calinkfedilinkEnglisharrow-up1·6 hours agoDamn you for correcting me correctly! :D
And you all complained when in C we used 1 and 0…
We use 0 and not 0…
Akcshually we use 0 and “not equal 0”, since “not 0” would be 0xFF…FF, and (at least gcc) gives back a 1 for a true expression. No idea about the spec, probably undefined…
Damn you for correcting me correctly! :D