http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49813
--- Comment #33 from vincenzo Innocente <vincenzo.innocente at cern dot ch> 2011-07-25 11:02:26 UTC --- indeed as noted in comment 8 20 static constexpr float nan1 = std::asin(1.45); 21 static constexpr float nan2 = std::sqrt(-1.45); produces the quite confusion error message: cexprMath.cpp:20:47: error: field initializer is not constant cexprMath.cpp:21:48: error: field initializer is not constant something saying that the argument is out-of-range may be more appropriate