Someone posted a question as to the size of number which a scalar would
tolerate. When I wanted to know what size boundaries I faced in
certain variable types in C, I wrote a little program that added 1 to a
variable until n+1 was less than n, at which point I concluded the
variable had been rolled over to its start again. Perl seems to
tolerate quite a bit of this, as the app has been churning away,
printing every so many number just to let me know where it's at, and it
recently went past two hundred billion (I cheated and am incrementing
by 1000 instead of 1, because I got impatient incrementing by one).
$scalars in perl handle big numbers ... and maybe Perl notices when a
boundary is being crossed and reconstitutes the number?
Take care,
Chris
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Re: Size of number in scalar Christopher D . Lewis
- Re: Size of number in scalar Ben Siders
- Re: Size of number in scalar Rob Dixon
- RE: Size of number in scalar Westgate, Jared
- RE: Size of number in scalar Russ Foster