diff options
Diffstat (limited to 'mpfr/agm.c')
-rw-r--r-- | mpfr/agm.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/mpfr/agm.c b/mpfr/agm.c index 75b5762d3..30ab45c1b 100644 --- a/mpfr/agm.c +++ b/mpfr/agm.c @@ -26,7 +26,8 @@ MA 02111-1307, USA. */ #include "mpfr-impl.h" /* returns ceil(log(d)/log(2)) */ -long _mpfr_ceil_log2 (double d) +long +_mpfr_ceil_log2 (double d) { long exp; union ieee_double_extract x; @@ -39,7 +40,8 @@ long _mpfr_ceil_log2 (double d) } /* returns floor(log(d)/log(2)) */ -long _mpfr_floor_log2 (double d) +long +_mpfr_floor_log2 (double d) { union ieee_double_extract x; @@ -48,7 +50,8 @@ long _mpfr_floor_log2 (double d) } /* returns y >= 2^d */ -double _mpfr_ceil_exp2 (double d) +double +_mpfr_ceil_exp2 (double d) { long exp; union ieee_double_extract x; |