in reply to Re: Answer: How do I create/detect/handle Infinity?
in thread How do I create/detect/handle Infinity?
Is that reliable ? ... assuming, of course, that $inf is in fact + infinity, and that there are no bugs present.unless ($x <= $inf) { print "\$x is definitely a NaN\n" } else { print "\$x is definitely NOT a NaN\n" }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Answer: How do I create/detect/handle Infinity?
by ysth (Canon) on Jul 26, 2009 at 10:12 UTC | |
by syphilis (Archbishop) on Jul 26, 2009 at 12:07 UTC | |
by ysth (Canon) on Jul 26, 2009 at 20:32 UTC |