Originally posted by Thomas Markl: When I divide 10 / 0 then Exception „Divided by zero“ should appear as in example 1. Why doesn’t it apper in Example 2 with „double d“? And why POSITIVE Infinity?
Because it is usefull for the following reason: lim (x -> +0) (10/x) = positive infinity That is, the nearer x gets to zero, the bigger gets 10/x
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus