Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Numeric digits of precision
Message
 
À
05/03/2002 06:47:42
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00626806
Message ID:
00628599
Vues:
16
Hilmar,

>I will not make the .Power() method any more accurate, since you can get
>any desired degree of accuracy, simply by changing the number of decimals.

I was never able to get it to say that 2^2=4 with precision. Increasing the number of decimals just caused it to return 4.000000000000000000000000027.

>I don't think the .Log() method is the correct approach to work with an
>Ahnentafel.

OK <g>.

>You don't need exponentiation to convert from binary to decimal,
>if that is what you mean.

No, that's not what I mean.

>>Once again, I've found C++ libraries which do exactly what I want <g>
>>(do exponentiation and logarithms on 100+ digit numbers without errors and
>>return the result as a string). Now I just need to find someone to convert
>>them to a Windows DLL so that I can access from VFP.
>
>If you can make them work, they will be much faster than anything that can be written in VFP - as David Frankenbach already mentioned.

Actually, I've now found a DLL version of the GNU arbitrary precision math library at . All of the docs still seem to be in C++, however, so I still don't know how to use it :-/

-Bob
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform