@cmuratori Little-known fact - there is a "floating point exact" exception that is on by default.
I feel like you have to be a special kind of Mr. Very Serious So-and-So to enable the floating point inexact computation exception.
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@cmuratori It's useful for debugging code that should only round at certain points. Uint->float for example is buggy if it rounds twice.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@cmuratori You can use it for doing exact 53-bit integer computations with doubles that will catch the signal and overflow to bignums. -
@cmuratori Which can be convenient since most processors don't support asynchronous exceptions for integer arithmetic overflow. - Show replies
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.