Re: When is min(a, b) != min(b, a)?

2008-01-20 Thread Bonjour
'NaN' means "Not a number". according to Python semantics, if you try to compare it with any other float numbers, it should return FALSE. just like: >>>1.0 > 'abc' False Since it always return FALSE, it is not a surprise for your question. If you wish to get infinitive number, you'd use

Re: When is min(a, b) != min(b, a)?

2008-01-20 Thread Bonjour
'NaN' means "Not a number". according to Python semantics, if you try to compare it with any other float numbers, it should return FALSE. just like >>> >>>1.0 > 'abc' False >>> Since it always return FALSE, it is not a surprise for your question. If you wish to get infinitive number, you'd u