On 10/25/2012 10:44 PM, Steven D'Aprano wrote:
> On Thu, 25 Oct 2012 22:04:52 -0400, Terry Reedy wrote:I did not do so.
>> It is a consequence of the following, which some people (but not all)
>> >>> nan = float('nan')
> The IEEE 754 standard says nothing about object identity. It only
>> >>> nan == nan
> IEEE 754 states that all NANs compare unequal to everything, including
> I'm not entirely sure why you suggest that there is an argument about
> As far as I can see, the argument isThere has been disagreement about whether the standard mandates that
> whether or not language designers should pick and choose which bits of
> the standard they want to follow, thus taking a step backwards to the
> chaos of numerical computing prior to the IEEE 754 standard.
Python behave the way it does. That is a fact, but I have no interest in
discussing the issue.
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.