diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-03-01 05:35:53 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-03-01 05:35:53 +0000 |
commit | 73b309ea0370472c1b800c9275b2e0d497af6cb3 (patch) | |
tree | 1f210382d233cea97ff04f27f78b76cde48e4735 /pp.c | |
parent | 8dd45d34530338e4b3b5971eaa45b6974375715b (diff) | |
download | perl-73b309ea0370472c1b800c9275b2e0d497af6cb3.tar.gz |
Couple of math functions need to be Perl_ so that
they are correctly long double, especially the frexp()
in sv_vcatpvfn() (spotted by Spider Boardman).
p4raw-id: //depot/cfgperl@5390
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -905,7 +905,7 @@ PP(pp_pow) djSP; dATARGET; tryAMAGICbin(pow,opASSIGN); { dPOPTOPnnrl; - SETn( pow( left, right) ); + SETn( Perl_pow( left, right) ); RETURN; } } @@ -1010,8 +1010,8 @@ PP(pp_modulo) #endif /* Backward-compatibility clause: */ - dright = floor(dright + 0.5); - dleft = floor(dleft + 0.5); + dright = Perl_floor(dright + 0.5); + dleft = Perl_floor(dleft + 0.5); if (!dright) DIE(aTHX_ "Illegal modulus zero"); |