#19797: Build GSL in IEEE 754 compliant mode
-------------------------------------+-------------------------------------
Reporter: jdemeyer | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-7.0
Component: packages: | Resolution:
standard | Merged in:
Keywords: | Reviewers:
Authors: Jeroen Demeyer | Work issues:
Report Upstream: Reported | Commit:
upstream. Developers acknowledge | 694feb2d71ebf521cf5f32dba69e0406d16e9f11
bug. | Stopgaps:
Branch: |
u/jdemeyer/ticket/19797 |
Dependencies: #19796 |
-------------------------------------+-------------------------------------
Comment (by rws):
Replying to [comment:10 vbraun]:
> And not of the form `1+abs(...)` and so on
This can be fixed in `GiNaC::abs_eval()`
> Automatically expanding isn't good enough either in general:
> {{{
> sage: x = var('x', domain='real')
> sage: ((exp(I*x)+exp(-I*x))^4).abs().expand()
> e^(4*I*x) + 4*e^(2*I*x) + 4*e^(-2*I*x) + e^(-4*I*x) + 6
> }}}
Why not? This is real as well and could be rewritten as a sum of trig
function expressions.
--
Ticket URL: <http://trac.sagemath.org/ticket/19797#comment:13>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.