MHLoppy to Programmer Humor@programming.dev • 4 months agoisInHell = 'true'fedia.ioimagemessage-square83arrow-up1683file-text
arrow-up1683imageisInHell = 'true'fedia.ioMHLoppy to Programmer Humor@programming.dev • 4 months agomessage-square83file-text
minus-square@Tja@programming.devlinkfedilink4•4 months 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-square@npcknapsack@lemmy.calinkfedilinkEnglish2•4 months 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