Changes between Version 2 and Version 3 of Ticket #22068
- Timestamp:
- Dec 16, 2016, 3:54:50 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #22068 – Description
v2 v3 30 30 [...] 31 31 }}} 32 33 Reason 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 {{{ 35 sage: RR('NaN').is_real() # bug 36 True 37 sage: NaN.is_real() 38 False 39 }}} 40 Secondly, coercion of `RR('NaN')` into `SR` should return the symbolic constant `NaN` which does not have these problems. The ticket should fix both.