Am 23.08.2011 09:16, schrieb Andreas Schneider: >> This code prints on the screen "+Inf", but I think it should be "NaN". >> Is this a bug or a special case in computer arithmetic? > > http://en.wikipedia.org/wiki/Division_by_zero#In_computer_arithmetic Oh, thank you. I should not read only the german part of wikipedia. Shame on me. Michael