My first suggestion would be to try use bigint. I suspect -- and without the C++ code can't be sure -- that your problem relates to Perl usually doing all its arithmetic in floating point (unless a pragma, such as use bigint is used).
The other course may be to try to port the C++ to Linux.
emc
" When in doubt, use brute force." — Ken ThompsonIn reply to Re: The 16 digit number dilemma.
by swampyankee
in thread The 16 digit number dilemma.
by docster
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |