Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
More then 15 places past decimal??
Message
From
21/01/2002 09:34:36
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00605696
Message ID:
00607712
Views:
39
>Cool! If you get a chance, please email it to me so I can try to figure out the logic! Again I appreciate the help!

I'll try to get it finished today or tomorrow. Then, you will immediately get your copy.

>>By the way, I would be interested in information from you, about why anybody would need precision higher than 15 significant digits, to include it in the comments.
>
>I'll let you know that as soon as I find out myself, as long as the nda does not prohibit it. The contract starts tomorrow.

A comment in the most general terms would be enough, if the nda allows it. And I don't want to include references to a specific person or company - I only want to know, and write, what use such a precision can have.

BTW, please do speed tests before commiting yourself to my class. You don't need to wait until I finish method .Divide() - you can start testing with .Add() and .Multiply().

Try to find out how many numbers have to be thus processed - you can multiply two 100-digit numbers in a reasonable time (a fraction of a second), but to do thousands, or millions, of operations in a row, is quite a different situation.

I estimate speed can be improved by a factor of about 10, compared with the current implementation, simply working on groups of digits in a row - but for me, this ain't #1 priority right now. The change should be quite simple in the case of the .Add() method. No change is required, of course, in the .Subtract() method.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform