projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
7cedd6f
)
&HUGE_VAL is not defined, it exists.
Jarkko Hietaniemi [Fri, 28 Apr 2000 21:04:46 +0000 (21:04 +0000)]
p4raw-id: //depot/cfgperl@6011
lib/Math/Complex.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Math/Complex.pm
b/lib/Math/Complex.pm
index
857b8f8
..
4439e56
100644
(file)
--- a/
lib/Math/Complex.pm
+++ b/
lib/Math/Complex.pm
@@
-13,7
+13,7
@@
our($VERSION, @ISA, @EXPORT, %EXPORT_TAGS, $Inf);
BEGIN {
eval { require POSIX; import POSIX 'HUGE_VAL' };
- if (defined &HUGE_VAL) {
+ if (exists &HUGE_VAL) {
$Inf = sprintf "%g", &HUGE_VAL;
} else {
my $e = $!;