At some point, someone is going to have to explain why - despite nobody ever wanting this in production code ever, for any reason - the default CSR state for divide by zero on most platforms is fault instead of flush.
-
Show this thread
-
Replying to @cmuratori
Have you considered using std::stuff::divide_by_zero<std::types::platform_safe_int>(myInt, std::allocator::thrash_the_heap, std::exceptions::prefer_furbles) instead to shorten your code, and be more expressive and modern?
1 reply 4 retweets 64 likes -
Replying to @ThE_JacO @cmuratori
It's also a zero cost abstraction. It will add less than 2 minutes per int width to your compile time and can produce any of 11 different furble type exceptions for you to catch them all like Pokemons, and gain absolute control of your results
1 reply 1 retweet 27 likes -
Replying to @ThE_JacO
You know it is interesting that you bring this up, because I have been meaning to do a lecture on modern parsing using Reverse Frobunators, which of course are the dual of furbles (in Gromman category theory).
2 replies 1 retweet 20 likes
A lot of people are still parsing using Glickman algebras (seriously!!), which is perhaps more straightforward but has the obvious drawback of not being closed over the set of all (real) functoidal unimorphisms.
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.