> However, the fact that (0 / 0) == (0 / 0) yields False is quite shocking. Just for the record: the following is from Firebug (JavaScript debugger for Firefox) session: >>> a = 0/0 NaN >>> a == a false >>> a === a false