From: Sean Russell Date: 2002-05-30T13:43:59+09:00 Subject: Re: Infinity (?!) Phil Tomson wrote: > So, my question is, how can you determine if a variable contains Infinity: .... > Anyway to do that? (2.0/0.0).infinity? #-> true (-2.0/0.0).infinity? #-> true (-2.0/0.0) < 0 #-> true (0.0/0.0).infinity? #-> false (0.0/0.0).nan? #-> true (NaN, Not A Number) -- |.. "Q: What causes the tides in the oceans? <|> A: The tides are a fight between the Earth and the Moon. All water /|\ tends to flow towards the moon, because there is no water on the /| moon, and nature abhors a vacuum. I forget where the sun joins in | this fight."