Subject: | pack "Q" and BigInt |
The following line of code:
print unpack "H*", pack "Q>", Math::BigInt->new("18446744073709551360");
prints 'ffffffffffffffff' instead of 'ffffffffffffff00' that I expect it
to, if use64bitint is defined and uselongdouble is not.
If uselongdouble is defined too, that that line works.
See the reports at:
http://www.cpantesters.org/distro/D/Data-ParseBinary.html#Data-ParseBinary-0.2601
for many reports.
Shmuel.