From 7eabe8e69044e3683376165934a17210b6b148b9 Mon Sep 17 00:00:00 2001 From: nsz Date: Thu, 29 Mar 2012 14:09:57 +0200 Subject: math: minor cleanups in ceil and floor --- src/math/ceill.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/math/ceill.c') diff --git a/src/math/ceill.c b/src/math/ceill.c index b938cc7f..a3523f9d 100644 --- a/src/math/ceill.c +++ b/src/math/ceill.c @@ -49,8 +49,7 @@ long double ceill(long double x) static const long double huge = 1.0e300; -long double -ceill(long double x) +long double ceill(long double x) { union IEEEl2bits u = { .e = x }; int e = u.bits.exp - LDBL_MAX_EXP + 1; -- cgit v1.2.1