[Richard Atterer] > My fix is to perform the above comparison on the two values (integer > and multiplier) rather than the combined double. The patch is > attached. I've only tested it lightly!
Comparing doubles using == is probably not a reliable test. Perhaps it is better to use (!islessgreater()) from <math.h> instead? Another way to do it is to use (x - y < epsilon), checking that the difference between two numbers are small. Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]