in reply to Re^2: Hexadecimal Exclusive OR
in thread Hexadecimal Exclusive OR
Gives:use bignum; my $var1 = 0x0000805063008357 ; my $var2 = 0x042426FFFFFFFFFF ; my $result = $var1 ^ $var2; printf "0x%016x\n",$result;
Which goes to show that printf does not support big ints.0x00000000ffffffff
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Hexadecimal Exclusive OR
by almut (Canon) on Jun 16, 2010 at 14:36 UTC |