Reminds me of some awesome old code I found that was like float buffer = (float)mmap(… doThing((float*)buffer);
-
-
- 1 more reply
New conversation -
-
-
You might like (and by that, I mean hate) this one weird floating point trick toopic.twitter.com/sXnGQxczSp
-
v8 used to do similar bithacking to convert an integer from their PRNG to a double for Math.random: https://github.com/v8/v8/blob/ceade6cf239e0773213d53d55c36b19231c820b5/src/js/math.js#L143 …
End of conversation
New conversation -
-
-
Hey, I used to do that! (last century on PowerPC)
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.