in reply to Re: Re: How to portably determine integer limits?
in thread How to portably determine integer limits?
Ok - I mean the min/max integer value for a scalar $i at the point where $i-- or $i++ will overflow and fail to return the expected value.Ah, that's yet another question. First of all, Perl numbers don't "overflow" in the sense that adding 1 to a really big positive number gives you are really small negative number.
Say you have:
What happens is:$i = 0; $i ++ while forever;
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How to portably determine integer limits?
by Anonymous Monk on Oct 30, 2003 at 13:43 UTC |