Lars T. Kyllingstad: > (I am especially puzzled by the line after l.20. How can this test ever > be true? Is the fact that the 1 in l.20 is an integer literal significant?) Generally double.inf+1 == double.inf Inspecting the run time values inside a direct translation may give you clues. Bye, bearophile