MHLoppy to Programmer [email protected] • 6 months agoisInHell = 'true'fedia.ioimagemessage-square61fedilinkarrow-up1663arrow-down14file-text
arrow-up1659arrow-down1imageisInHell = 'true'fedia.ioMHLoppy to Programmer [email protected] • 6 months agomessage-square61fedilinkfile-text
minus-square@[email protected]linkfedilink16•6 months agoAnd you all complained when in C we used 1 and 0…
minus-square@[email protected]linkfedilink4•6 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@[email protected]linkfedilinkEnglish2•6 months 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