osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can math.atan2 return INF?


Rustom Mody <rustompmody at gmail.com>:

> I am reminded of an argument I once had with a colleague about
> infinite, lazy data-structures
>
> I said that for the Haskell list [0..]
>
> [0..] ++ [-1] == [0..]

[...]

> He said (in effect) yes that -1 would not be detectable but its still
> there!

Georg Cantor would probably be with your colleague, but then, Georg
Cantor was not a scientist.


Marko