diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2001-02-15 22:15:38 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2001-02-15 22:15:38 +0000 |
commit | e5473304f5e6523b79f3116cbe97f2f3313edc47 (patch) | |
tree | 47c00d9c600d5ef016852c4dc2391c9b08aef55b /agm.c | |
parent | 8c718262f5d515592cbaffa7413cd1671ff6728d (diff) | |
download | mpfr-e5473304f5e6523b79f3116cbe97f2f3313edc47.tar.gz |
fixed problems with old K&R compilers (_PROTO missing)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@987 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'agm.c')
-rw-r--r-- | agm.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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; |