summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-12-18 20:58:44 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-12-18 20:58:44 +0000
commit1779d84dfb511a39bc8c645afc698f9dce95ef29 (patch)
tree6c603ad4f13f185c4d97e940cc7c35bb358fa21c /pp.c
parent4049dcd4538c1301929cdfff69bc80cbae742f94 (diff)
downloadperl-1779d84dfb511a39bc8c645afc698f9dce95ef29.tar.gz
%g -> NVgf cleanup, based on Schwern's RedHat 7.1/Alpha
findings -- some of the warnings I can't explain except by NVgf being detected wrong, though. p4raw-id: //depot/perl@13764
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pp.c b/pp.c
index 23bf1ffad2..fddbfc2071 100644
--- a/pp.c
+++ b/pp.c
@@ -2627,7 +2627,7 @@ PP(pp_log)
value = POPn;
if (value <= 0.0) {
SET_NUMERIC_STANDARD();
- DIE(aTHX_ "Can't take log of %g", value);
+ DIE(aTHX_ "Can't take log of %"NVgf, value);
}
value = Perl_log(value);
XPUSHn(value);
@@ -2643,7 +2643,7 @@ PP(pp_sqrt)
value = POPn;
if (value < 0.0) {
SET_NUMERIC_STANDARD();
- DIE(aTHX_ "Can't take sqrt of %g", value);
+ DIE(aTHX_ "Can't take sqrt of %"NVgf, value);
}
value = Perl_sqrt(value);
XPUSHn(value);