diff options
author | Jan Dubois <jand@activestate.com> | 1999-05-28 22:14:35 +0200 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-05-29 10:53:31 +0000 |
commit | eaeb0b243caaadc44d2b5d951d6ec4dc308789d8 (patch) | |
tree | 3b3a8ccb7cf2f50a545c027c534c3ef3fd37b940 | |
parent | f1066039eba92a2bb4d8de3ef991b7c813b020c9 (diff) | |
download | perl-eaeb0b243caaadc44d2b5d951d6ec4dc308789d8.tar.gz |
(was Re: Unitialized Value Complaints in Math::BigFloat)
To: Gurusamy Sarathy <gsar@activestate.com>, perl5-porters@perl.org
Message-ID: <3751daa4.7188847@smtp1.ibm.net>
p4raw-id: //depot/cfgperl@3503
-rw-r--r-- | lib/Math/BigFloat.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Math/BigFloat.pm b/lib/Math/BigFloat.pm index 0435cd89e8..8aa6a6604b 100644 --- a/lib/Math/BigFloat.pm +++ b/lib/Math/BigFloat.pm @@ -74,6 +74,7 @@ sub fnorm; sub fsqrt; sub fnorm { #(string) return fnum_str local($_) = @_; s/\s+//g; # strip white space + local $^W = 0; # $4 and $5 below might legitimately be undefined if (/^([+-]?)(\d*)(\.(\d*))?([Ee]([+-]?\d+))?$/ && "$2$4" ne '') { &norm(($1 ? "$1$2$4" : "+$2$4"),(($4 ne '') ? $6-length($4) : $6)); } else { |