John W. Krahn wrote:
>
> Bee wrote:
> >
> > Anything I can do to working like this ?
> >
> > print for ( 0.. 3410068347520) ;
>
> for ( my $i = 0; $i <= 3_410_068_347_520; ++$i ) {
> print $i;
> }
Except that standard integer arithmetic is only good for about
fifteen significant digits. It ma
Bee wrote:
>
> Anything I can do to working like this ?
>
> print for ( 0.. 3410068347520) ;
for ( my $i = 0; $i <= 3_410_068_347_520; ++$i ) {
print $i;
}
John
--
use Perl;
program
fulfillment
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PRO
Thanks a lot, Rob.
Thaz exactly what I am looking for... =)
- Original Message -
From: "Rob Dixon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 01, 2004 4:12 AM
Subject: Re: Integer out of range.
> Bee wrote:
> >
> > A
Bee wrote:
>
> Anything I can do to working like this ?
>
> print for ( 0.. 3410068347520) ;
>
> Thanks in advise
Hi Bee.
Use Math::BigInt, like this. (The underscores in the
constant are optional, as for normal Perl integers.)
HTH,
Rob
use strict;
use warnings;
use Math::BigInt;
m