diff options
Diffstat (limited to 'libquadmath/math/ceilq.c')
-rw-r--r-- | libquadmath/math/ceilq.c | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/libquadmath/math/ceilq.c b/libquadmath/math/ceilq.c index 1adc1e1b9f0..5d221976665 100644 --- a/libquadmath/math/ceilq.c +++ b/libquadmath/math/ceilq.c @@ -1,4 +1,4 @@ -/* ceilq.c -- __float128 version of s_ceil.c. +/* s_ceill.c -- long double version of s_ceil.c. * Conversion to IEEE quad long double by Jakub Jelinek, jj@ultra.linux.cz. */ @@ -13,10 +13,22 @@ * ==================================================== */ +#if defined(LIBM_SCCS) && !defined(lint) +static char rcsid[] = "$NetBSD: $"; +#endif + +/* + * ceilq(x) + * Return x rounded toward -inf to integral value + * Method: + * Bit twiddling. + */ + +#define NO_MATH_REDIRECT + #include "quadmath-imp.h" -__float128 -ceilq (__float128 x) +__float128 ceilq(__float128 x) { int64_t i0,i1,j0; uint64_t i,j; |