summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-04-25 01:15:18 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-04-25 01:15:18 +0000
commitdff3e0b830e328ebcc74f828846237175fcfa600 (patch)
tree9933d53f5045fe00432e655fe33e48d9c38bc98a /perl.h
parenta3540c9216933280e8172ff9fdbf23c34fe36604 (diff)
downloadperl-dff3e0b830e328ebcc74f828846237175fcfa600.tar.gz
On second thoughts frexp() does have two arguments.
p4raw-id: //depot/cfgperl@5944
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl.h b/perl.h
index 04b6196223..2f5a5601bf 100644
--- a/perl.h
+++ b/perl.h
@@ -1162,9 +1162,9 @@ typedef NVTYPE NV;
# define Perl_modf(x,y) ((long double)modf((double)(x),(double*)(y)))
# endif
# ifdef HAS_FREXPL
-# define Perl_frexp(x) frexpl(x)
+# define Perl_frexp(x,y) frexpl(x,y)
# else
-# define Perl_frexp(x) ((long double)frexp((double)(x)))
+# define Perl_frexp(x,y) ((long double)frexp((double)(x),y))
# endif
# ifdef HAS_ISNANL
# define Perl_isnan(x) isnanl(x)
@@ -1187,7 +1187,7 @@ typedef NVTYPE NV;
# define Perl_floor floor
# define Perl_fmod fmod
# define Perl_modf(x,y) modf(x,y)
-# define Perl_frexp(x) frexp(x)
+# define Perl_frexp(x,y) frexp(x,y)
# ifdef HAS_ISNAN
# define Perl_isnan(x) isnan(x)
# else