Re: Integer out of range.....

2004-01-03 Thread Rob Dixon
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

Re: Integer out of range.....

2004-01-03 Thread John W. Krahn
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

Re: Integer out of range.....

2003-12-31 Thread Bee
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

Re: Integer out of range.....

2003-12-31 Thread Rob Dixon
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