diff options
author | nsz <nsz@port70.net> | 2012-03-18 20:40:43 +0100 |
---|---|---|
committer | nsz <nsz@port70.net> | 2012-03-18 20:40:43 +0100 |
commit | 65db00983f3fa5449f20f2694477f9d5116f6ea5 (patch) | |
tree | b71e3a7354cc64caff3ac8707c278df512cfeb36 /src/math/lrint.c | |
parent | 9b6899f2c5cec70af6cea80ead7ba98fd2366ce9 (diff) | |
download | musl-65db00983f3fa5449f20f2694477f9d5116f6ea5.tar.gz musl-65db00983f3fa5449f20f2694477f9d5116f6ea5.tar.bz2 musl-65db00983f3fa5449f20f2694477f9d5116f6ea5.tar.xz musl-65db00983f3fa5449f20f2694477f9d5116f6ea5.zip |
make lrint and llrint functions work without fenv support
Diffstat (limited to 'src/math/lrint.c')
-rw-r--r-- | src/math/lrint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/lrint.c b/src/math/lrint.c index feba28d0..67091835 100644 --- a/src/math/lrint.c +++ b/src/math/lrint.c @@ -25,7 +25,7 @@ otherwise LONG_MAX and LONG_MIN can be represented exactly as a double. */ -#if LONG_MAX < 1U<<53 +#if LONG_MAX < 1U<<53 && defined(FE_INEXACT) long lrint(double x) { int e; |