diff options
author | Nicholas Clark <nick@ccl4.org> | 2002-08-11 21:05:49 +0100 |
---|---|---|
committer | hv <hv@crypt.org> | 2002-08-12 11:28:26 +0000 |
commit | 51997bc3cf799cd7796ef40df40dca19c40bb71a (patch) | |
tree | 01adf4d9270ed2bf4953b6ace65b5421c2788fb8 /perl.h | |
parent | ee8e686db478652dd044fc00ee778f3050cbc23e (diff) | |
download | perl-51997bc3cf799cd7796ef40df40dca19c40bb71a.tar.gz |
better modfl detection
Message-id: <20020811190548.GK300@Bagpuss.unfortu.net>
p4raw-id: //depot/perl@17715
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1241,6 +1241,11 @@ typedef NVTYPE NV; /* e.g. libsunmath doesn't have modfl and frexpl as of mid-March 2000 */ # ifdef HAS_MODFL # define Perl_modf(x,y) modfl(x,y) +/* eg glibc 2.2 series seems to provide modfl on ppc and arm, but has no + prototype in <math.h> */ +# ifndef HAS_MODFL_PROTO +long double modfl(long double, long double *); +# endif # else # define Perl_modf(x,y) ((long double)modf((double)(x),(double*)(y))) # endif |