#17285: CIF(cos(3/2)) fails
-------------------------+----------------------------
Reporter: jdemeyer | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.4
Component: symbolics | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies: #17130
Stopgaps: |
-------------------------+----------------------------
{{{
sage: CIF(cos(3/2))
---------------------------------------------------------------------------
TypeError Traceback (most recent call
last)
<ipython-input-31-4eae9038f0b3> in <module>()
----> 1 CIF(cos(Integer(3)/Integer(2)))
/usr/local/src/sage-config/local/lib/python2.7/site-
packages/sage/rings/complex_interval_field.pyc in __call__(self, x, im)
378
379 try:
--> 380 return x._complex_mpfi_( self )
381 except AttributeError:
382 pass
/usr/local/src/sage-config/local/lib/python2.7/site-
packages/sage/symbolic/expression.so in
sage.symbolic.expression.Expression._complex_mpfi_
(build/cythonized/sage/symbolic/expression.cpp:8043)()
}}}
Similar things do work:
{{{
sage: RIF(cos(3/2))
0.0707372016677030?
sage: CC(cos(3/2))
0.0707372016677029
sage: CIF(cos(3))
-0.98999249660044542?
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/17285>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.