Changes between Version 2 and Version 3 of Ticket #22068


Ignore:
Timestamp:
Dec 16, 2016, 3:54:50 PM (6 years ago)
Author:
rws
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22068 – Description

    v2 v3  
    3030[...]
    3131}}}
     32
     33Reason one is that for the negativity check of a `PyObject` Pynac checks if it's real and if so, call a Python LT compare with 0. The reality check already should fail.
     34{{{
     35sage: RR('NaN').is_real()    # bug
     36True
     37sage: NaN.is_real()
     38False
     39}}}
     40Secondly, coercion of `RR('NaN')` into `SR` should return the symbolic constant `NaN` which does not have these problems. The ticket should fix both.