No such thing as a small change | |
PerlMonks |
Re: Infinity recognized as numberby fglock (Vicar) |
on Nov 22, 2002 at 18:22 UTC ( [id://215217]=note: print w/replies, xml ) | Need Help?? |
Thanks all. The point is, Perl prints out the Infinity number as "Inf" (FreeBSD) or "inf" (linux). What I learned is that the string "Inf" is just a string. Now I'm using $inf=10**10**10
In Section
Seekers of Perl Wisdom
|
|