Skip Menu |

This queue is for tickets about the Math-Int2Base CPAN distribution.

Report information
The Basics
Id: 43852
Status: resolved
Priority: 0/
Queue: Math-Int2Base

People
Owner: bbaxter [...] cpan.org
Requestors: ddascalescu+perl [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.01
Fixed in: (no value)



Subject: Should use Math::BigInt
print "Should use Math::BigInt" if int2base( 10**40, 62 ) eq int2base( 10**40+99, 62 );
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