• 0 Posts
  • 50 Comments
Joined 2 years ago
cake
Cake day: September 5th, 2023

help-circle


  • The problem is that it’s undefined behavior. Quake fast inverse square root only works before the types just happen to look that way. Because the floats just happens to have that bit arrangement. It could look very different on other machines! Nevermind that it’s essentially always exactly the same on most architectures. So yeah. Undefined behavior is there to keep your code usable even if our assumptions about types and memory change completely one day.








  • I’ve only ever seen it triggered by the Alt Gr key personally, but it’s naturally customizable. Interestingly, though, there exists a distinct USB HID key code for the compose key—suggesting there might be keyboards with a dedicated key or could theoretically be created.

    This post was not written my the AI, I’m just sassy and started using the em dash more often now. I used to just use the hyphen on online forums instead, reserving the real em dash for papers and such. Things like the compose key make it incredibly easy to input—so much so that it does not take more time than just a regular hyphen.