[Python-Dev] Why is nan != nan?

Mark Dickinson dickinsm at gmail.com
Wed Mar 24 20:26:11 CET 2010


[Changing the subject line, since we're way off the original topic]

On Wed, Mar 24, 2010 at 7:04 PM, Alexander Belopolsky
<alexander.belopolsky at gmail.com> wrote:
> On Wed, Mar 24, 2010 at 2:50 PM, Mark Dickinson <dickinsm at gmail.com> wrote:
> ..
>>  If Python were to do something different then a naively translated
>> algorithm from another language would fail.  It's the behaviour that
>> numerically-aware people expect, and I'd expect to get complaints from
>> those people if it changed.
>
> Numerically-aware people are likely to be aware of the differences in
> languages that they use.

Sure.  But I'd still expect them to complain.  :)

Here's an interesting recent blog post on this subject, from the
creator of Eiffel:

http://bertrandmeyer.com/2010/02/06/reflexivity-and-other-pillars-of-civilization/

Mark


More information about the Python-Dev mailing list