From: Rich Felker Date: Sat, 17 Mar 2012 04:02:36 +0000 (-0400) Subject: one more fenv availability issue: lround X-Git-Tag: v0.8.7~7 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d3fc724759ef08a8032e76e14f8cd96bfb837e17;p=oweals%2Fmusl.git one more fenv availability issue: lround --- diff --git a/src/math/lround.c b/src/math/lround.c index 04a5e178..f62c8d40 100644 --- a/src/math/lround.c +++ b/src/math/lround.c @@ -58,7 +58,9 @@ dtype fn(type x) x = roundit(x); return (dtype)x; } else { +#ifdef FE_INVALID feraiseexcept(FE_INVALID); +#endif return DTYPE_MAX; } }