deleted.
Last edited on
Don't put doubles as guards in loops...
Computers approximate double values. So 0.0 could very well be 0.0000000000001.
That's why you never do monetary math with floats but with special classes.
deleted.
Last edited on
I am not aware of the algorithm you are trying to use (haven't used it). So probably someone else could identify your problem.