in reply to Re^7: The 16 digit number dilemma.
in thread The 16 digit number dilemma.

Hi there. Thanks for your reply. The code is for myself. I did somehow manage to hack through writing the C++ version a year or so ago but now I need to do it in perl and yes, I admit, Im new to it ;)

Moving it linux and perl has raised some issues, currently getting the system to support "use64bitint". After this I think I should have it. The code is working fine, the calculations are getting off when the conversion is made.

Admiting that I am not the one for job is not an option when I created it. You don't learn much by letting others code it for you ;)

Replies are listed 'Best First'.
Re^9: The 16 digit number dilemma.
by ysth (Canon) on Feb 07, 2006 at 07:51 UTC
    You would need to build perl with use64bitint and also use integer; in your code to have most arithmetic operations act as they would for a 64 bit signed integer in C.