#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:  N/A                |       Commit:
         Branch:                     |  694feb2d71ebf521cf5f32dba69e0406d16e9f11
  u/jdemeyer/ticket/19797            |     Stopgaps:
   Dependencies:  #19796             |
-------------------------------------+-------------------------------------

Comment (by rws):

 Replying to [comment:2 vbraun]:
 > {{{
 >             sage: x = var('x', domain='real')
 >             sage: s = abs((1+I*x)^4); s
 >             (I*x + 1)^2*(-I*x + 1)^2
 > }}}
 > Isn't the real problem that abs does not default to `hold=True`
 Maybe it's better to expand automatically if the result contains `I`.
 Automatic expansion also resolved a similar problem in #18952
 {{{
 sage: x = var('x', domain='real')
 sage: ((1+I*x)^4).abs().expand()
 x^4 + 2*x^2 + 1
 }}}
 > so something that ought to be manifestly real is not.
 It is but only when expanded.

--
Ticket URL: <http://trac.sagemath.org/ticket/19797#comment:8>
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.

Reply via email to