Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement