3 ms·
And FP in the context is Floating Point. Linus is very pragmatic in this exchange, in fact, hard numerical code, as the other person is implying in the discuss
by Loic 10y ago
And FP in the context is Floating Point.
Linus is very pragmatic in this exchange, in fact, hard numerical code, as the other person is implying in the discussion, is normally not following IEEE. Especially around zero. If your code is losing precision when you divide by something very big resulting in a zero value, you do not want to rise an exception, you just want to have zero.
Numerical code is normally not following the full IEEE and ignoring the underflow and inexact exceptions.
IEEE is a lot about tracking precision loss but in numerical code, precision loss is acceptable and needed (for speed) in many situations. But knowledge of the precision loss is for some people very important, this is the raison d'être of the IEEE standard.