>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)