#358: complex NaN
--------------------+-------------------------------------------------------
 Reporter:  rurban  |       Owner:  dukeleto
     Type:  bug     |      Status:  assigned
 Priority:  normal  |   Milestone:          
Component:  core    |     Version:          
 Severity:  medium  |    Keywords:          
     Lang:          |       Patch:          
 Platform:          |  
--------------------+-------------------------------------------------------

Comment(by dukeleto):

 I am going on the assumption that there "can be only one" NaN. The entity
 'NaN' is for encoding the idea that we should represent an invalid
 arithmetic operation as something special. There is no "real" NaN and
 "complex" NaN. *All* arithmetic operations, no matter they be real or
 complex, that contain a NaN should simplify to NaN. The partial patch that
 was added to this ticket adds some support for parsing complex numbers of
 the form "NaN+2*i" and such, but there are still all kinds of other ways
 that you can make either the real or imaginary part of the resulting
 number NaN that does not require parsing a string, and these are the cases
 where we still have bugs.

 Also, the patch attached is quite old and the tests no longer compile, but
 it is a good start.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/358#comment:10>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to