comparing the double result of and terminating a loop
I'm running a loop where I sum very small numbers. I really think that I only need to be accurate to 35 digits or so. How do I compare only the first 35 digits of a double number to another number?
hmmm... i tried something along those lines stranger, but i need to know how big a double number really is before i pick an acceptable epsilon. I'm having trouble finding it.... apparently my google search technique needs some work.