Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding and Subtracting large numbers
Message
De
25/09/2019 10:54:34
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01671113
Message ID:
01671115
Vues:
60
>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...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform