Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
16 digit precision limit
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
16 digit precision limit
Divers
Thread ID:
00625633
Message ID:
00625633
Vues:
39
I need to calculate and store in a table some factorial numbers (n!) for n<=30.
For elaboration performance I have to create a "factorial matrix".
I made it using double fields. All work ok,for little number, but the value that is effectively stored and pheraps calculated isn't correct (exact) when they are expressed as exponential. Documentation says that double field precision is (+/-4.94065645841247E-324 to +/-8.9884656743115E307)
30!= in my table is something like 2,6525285981219+E32 but I think that this value don't have enought decimail digits and of course isn't exact.
If I'm not in wrong,how can I operate whit more decimal digits precision.

Thanks in advance
Enrico De Angelis
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform