diff options
author | Jens Hamisch <jens@Strawberry.COM> | 2000-10-27 16:38:21 +0200 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-10-27 12:43:13 +0000 |
commit | e82e08d5403019ee247cbb11863a873d8451479b (patch) | |
tree | 6c1431db07a557b372b3474873cdaacccd91054a /perl.h | |
parent | 2470c0fcaca5c9f49e9949fb72fbc863ab9bf71d (diff) | |
download | perl-e82e08d5403019ee247cbb11863a873d8451479b.tar.gz |
[ID 20001027.002] Patch 7380 followup - Perl_modfl *must* be defined
Message-Id: <20001027143821.B3366@Strawberry.COM>
p4raw-id: //depot/perl@7457
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1187,9 +1187,13 @@ 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) +# else +# define Perl_modf(x,y) ((long double)modf((double)(x),(double*)(y))) # endif # ifdef HAS_FREXPL # define Perl_frexp(x,y) frexpl(x,y) +# else +# define Perl_frexp(x,y) ((long double)frexp((double)(x),y)) # endif # ifdef HAS_ISNANL # define Perl_isnan(x) isnanl(x) |