summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-03-01 05:35:53 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-03-01 05:35:53 +0000
commit73b309ea0370472c1b800c9275b2e0d497af6cb3 (patch)
tree1f210382d233cea97ff04f27f78b76cde48e4735 /pp.c
parent8dd45d34530338e4b3b5971eaa45b6974375715b (diff)
downloadperl-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pp.c b/pp.c
index 70babce262..d0a9959eba 100644
--- a/pp.c
+++ b/pp.c
@@ -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");