#10062: With imag, sqrt and subs I get 0==1
-----------------------------+----------------------------------------------
Reporter: fmaltey | Owner: burcin
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.6.1
Component: calculus | Keywords:
Author: Burcin Erocal | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
Changes (by newvalueoldvalue):
* status: new => needs_review
* milestone: => sage-4.6.1
* author: => Burcin Erocal
Comment:
This was caused by the problem reported at #10064. The `arctan2()`
automatic evaluation function checks if the second argument is positive,
line 1062 of `inifcns_trans.cpp` in pynac:
{{{
// atan2(0, x), x real and positive -> 0
if (x.info(info_flags::positive))
return _ex0;
}}}
attachment:trac_10062-doctest.patch adds a doctest to check this.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10062#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.