MHLoppy@fedia.io to Programmer Humor@programming.dev · 3 days agoisInHell = 'true'fedia.ioimagemessage-square82fedilinkarrow-up1658arrow-down13file-text
arrow-up1655arrow-down1imageisInHell = 'true'fedia.ioMHLoppy@fedia.io to Programmer Humor@programming.dev · 3 days agomessage-square82fedilinkfile-text
minus-squareTja@programming.devlinkfedilinkarrow-up4·2 days 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-up2·1 day agoDamn you for correcting me correctly! :D
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