Re:Magical Square Root Implementation In Quake III by Carmack
by figglesonrails on Friday February 21, 2014 @11:31AM
(#7277703)
FWIW, memcpy(&anInt, &aFloat, sizeof(int)) achieves the same thing, is not turned in a real call to memcpy(), and doesn't not break the strict aliasing rule, and does not cause incorrect code to be generated with using `gcc -fstrict-aliasing`.
[ Parent
| on HN ]
There are no comments on this comment yet.