lapack
lapack copied to clipboard
IEEECK generates IEEE exceptions
IEEECK generates division-by-zero exception near https://github.com/Reference-LAPACK/lapack/blob/06f5ba3143280d6ccf7b4dff3c0761f1ea9479a2/SRC/ieeeck.f#L100 and ieee-invalid exception near https://github.com/Reference-LAPACK/lapack/blob/06f5ba3143280d6ccf7b4dff3c0761f1ea9479a2/SRC/ieeeck.f#L156
that makes analysis of division-by-zero (and other IEEE exceptions) in other parts of application more complicated since one has to disable checks before LAPACK calls and enable them back after.
With modern Fortran, the same checks can be done via ieee_arithmetic module without generating exceptions. See #1168.
I agree.