Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding and Subtracting large numbers
Message
From
25/09/2019 10:54:34
 
 
To
25/09/2019 10:07:36
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01671113
Message ID:
01671115
Views:
59
>I am struggling implementing a code that would be able to add large numbers. Basically it is working, I am using the Math_unlimited.vcx from the download section. However once the result would be negative it gives wrong results. I would need to rewrite the code, but I was wondering if someone has a better code for this, or perhaps even an fll solution that could be used instead?

How big of numbers do you need?

I wrote an open source arbitrary precision math library that used MPFR several years ago in C/C++. It could be ported to an FLL with little difficulty. It provided basic trig functions, exponents, roots, etc.

UPDATE: In fact, in thinking about it, I think I wrote a VFP wrapper at one point. Hmm...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform