cm0002@lemmy.world to Programmer Humor@programming.dev · 8 months agoTell me the truth ...piefed.jeena.netimagemessage-square101linkfedilinkarrow-up1926arrow-down113
arrow-up1913arrow-down1imageTell me the truth ...piefed.jeena.netcm0002@lemmy.world to Programmer Humor@programming.dev · 8 months agomessage-square101linkfedilink
minus-squarericecake@sh.itjust.workslinkfedilinkarrow-up106·8 months agoI set all 8 bits to 1 because I want it to be really true.
minus-squareConsti@lemmy.worldlinkfedilinkarrow-up9·8 months agoI was programming in assembly for ARM (some cortex chip) and I kid you not the C program we were integrating with required 255, with just 1 it read it as false
I set all 8 bits to 1 because I want it to be really true.
I was programming in assembly for ARM (some cortex chip) and I kid you not the C program we were integrating with required 255, with just 1 it read it as false