diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-03-17 00:02:36 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-03-17 00:02:36 -0400 |
commit | d3fc724759ef08a8032e76e14f8cd96bfb837e17 (patch) | |
tree | 5eca0ba30adf5e17ffb0bf435e06ea4db8ca3038 /src | |
parent | 2e77dc13f8bc2053642fcb136996f5f36c88c775 (diff) | |
download | musl-d3fc724759ef08a8032e76e14f8cd96bfb837e17.tar.gz |
one more fenv availability issue: lround
Diffstat (limited to 'src')
-rw-r--r-- | src/math/lround.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } } |