Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
16 digit precision limit
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
16 digit precision limit
Miscellaneous
Thread ID:
00625633
Message ID:
00625633
Views:
41
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
Next
Reply
Map
View

Click here to load this message in the networking platform