Re:Beating Floating Point at Its Own Game: Posit Arithmetic ...
by louithethrid on Sunday July 02, 2017 @09:25AM
(#14682378)
I stand corrected, sorry, it was late at night and yes of course its a floating point operation that goes sour, which in assembly would be handled and then the result passed to the programm handling. Still expensive when encountered in mass though, on a micro controler.
Thanks for putting it right, before the missinformation could spread.
That sounds like the time it takes to do a context switch to the OS. A math error interrupt doesn't need to do a context switch. The cost doesn't need to be any higher than a branch misprediction at 10-20 cycles.