GNU MP assertion failed: T(1)+std::numeric_limits<double>::denorm_min()>1

roger golliver roger.a.golliver at gmail.com
Tue Sep 9 15:41:43 UTC 2014


Jens,

This is a known issue for those trying to develop high quality numeric
codes using the Intel Compiler Suite.

You must ask the Intel Compiler to conform to the C language standard
for floating-point
expression evaluation; via the "-fp-model precise" compiler switch.
By default, the Intel Compiler developers chose to ignore the C
language expression evaluation rules.  Presumably in hope for gains in
floating-point performance.

Try:

    CC="icc -fp-model precise" CXX="icpc -fp-model precise"
./configure --enable-cxx
    make
    make check


Roger


More information about the gmp-bugs mailing list