@cmuratori I feel like I should go time this... I am suspicious!
-
-
-
@cmuratori Careful, on a machine that ONLY has SSE2, MXCSR has a very different performance to a modern core (where you'd use SSE4) - Show replies
New conversation -
-
-
@cmuratori Floor/ceil can be done simpler. And it is faster than setting/restoring mxcsr, ~6x for me: https://gist.github.com/mmozeiko/c70f495da7b3f91ad785 …Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@cmuratori That code doesn't actually work for floats are outside the bounds of a 32-bit signed int. -
@rygorous@cmuratori He discusses this and provides a 'safeInt' template further down. - Show replies
New conversation -
-
- End of conversation
New conversation
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.