Wed Mar 04 17:55:28 2009ddascalescu+perl [...] gmail.com - Ticket created
Subject:
Should use Math::BigInt
print "Should use Math::BigInt"
if int2base( 10**40, 62 ) eq int2base( 10**40+99, 62 );
Tue Mar 10 08:37:38 2009bbaxter [...] cpan.org - Correspondence added
RT-Send-CC:
ddascalescu+perl [...] gmail.com
D'oh!
Added this example to pod with corresponding tests (which now pass):
use bigint; # if needed
my $googol = 10**100;
my $base62 = int2base( $googol, 62 ); #
QCyvrY2MJnQFGlUHTCA95Xz8AHOrLuoIO0fuPkHHCcyXy9ytM5N1lqsa
my $bigint = base2int( $base62, 62 ); # back to 1e+100
Many thanks!
Brad
Tue Mar 10 08:37:38 2009The RT System itself - Status changed from 'new' to 'open'
Tue Mar 10 08:37:39 2009bbaxter [...] cpan.org - Status changed from 'open' to 'resolved'
Tue Mar 10 08:37:40 2009bbaxter [...] cpan.org - Given to BBAXTER