You can't subtract one from something to get the max. The only reason
my $max = 2**($n-1) - 1 ;
works is because the max is really
my $max = 2**($n-1);
In reply to Re^6: 64-bit digest algorithms
by ikegami
in thread 64-bit digest algorithms
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |