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.
- 0 Posts
- 6 Comments
Joined 2 years ago
Cake day: September 5th, 2023
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
Opisek@lemmy.worldto Technology@lemmy.world•Surprising no one, new research says AI Overviews cause massive drop in search clicksEnglish41·3 days agoSame here. Never looked back. My search finally just works.
Opisek@lemmy.worldto politics @lemmy.world•73-Year-Old Republican Senator Disassociates in Middle of Interview1·3 days agoI tend to forget Bernie’s age.
Opisek@lemmy.worldto Technology@lemmy.world•Brave browser blocks Windows feature that takes screenshots of everything you do on your PCEnglish1·3 days agoI despise their business model, their design decisions, and their walled garden. I will agree that the OS is fine. I was forced to use a MacBook at a software development job in the past. It being UNIX was a big point why I didn’t immediately hate it. I will still agree with the other users and say that their hardware is pretty nice and well thought-out (not praising the anti-consument measures like soldered RAM). Still, I would personally never buy their devices due to the aforementioned business practices.
Who does this Kerckhoff think he is anyway???
One of us