in reply to Re^3: decimal to binary conversion need help
in thread decimal to binary conversion need help
#Correct results:my $bignum = Math::BigInt->new('9007199254740991'); print $bignum->as_bin(),"\n"; ######################################################## use bigint; my $bignum = 9007199254740991; print $bignum->as_bin(),"\n";
0b11111111111111111111111111111111111111111111111111111 0b11111111111111111111111111111111111111111111111111111
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: decimal to binary conversion need help
by Anonymous Monk on Jan 06, 2005 at 13:29 UTC | |
by holli (Abbot) on Jan 06, 2005 at 13:42 UTC |