#11423: Make atan2(0,0) consistent
-----------------------------+----------------------------------------------
Reporter: kcrisman | Owner: burcin
Type: defect | Status: new
Priority: major | Milestone: sage-5.0
Component: symbolics | Resolution:
Keywords: sd31 | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
-----------------------------+----------------------------------------------
Changes (by burcin):
* cc: titusn (added)
Comment:
GiNaC probably got `atan2(0,0) -> 0` from Maple:
{{{
|\^/| Maple 12 (X86 64 LINUX)
._|\| |/|_. Copyright (c) Maplesoft, a division of Waterloo Maple Inc.
2008
\ MAPLE / All rights reserved. Maple is a trademark of
<____ ____> Waterloo Maple Inc.
| Type ? for help.
> arctan(0,0);
0
}}}
MMA prints an error like Maxima:
{{{
In[5]:= ArcTan[0,0]
ArcTan::indet: Indeterminate expression ArcTan[0, 0] encountered.
Out[5]= Interval[{-Pi, Pi}]
}}}
Titus points out that with Volker's patch, `arg(0)` in Sage also gives an
error. All of MMA, Maple and Maxima evaluate that to 0 though.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11423#comment:4>
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.