in reply to The last 5 bits in perl
my $last_5_bits = -9133545115225966845 % 32; # 3
For your example, you'll likely need to use bigint.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: The last 5 bits in perl
by moritz (Cardinal) on Aug 06, 2009 at 21:35 UTC | |
|
Re^2: The last 5 bits in perl
by afoken (Chancellor) on Aug 08, 2009 at 18:14 UTC |