#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             |
-------------------------------------+-------------------------------------
Changes (by rws):

 * upstream:  N/A => Reported upstream. Developers acknowledge bug.


Old description:

> The following can happen on some hardware architectures due to fused
> multiply-add instructions:
> {{{
> sage: x = CDF(0.99, 0.2)
> sage: x * x.conj()
> 1.0201 + 1.1102230246251575e-19*I
> }}}
>
> It's annoying because it causes doctest failures, for example
> {{{
> sage -t --long --warn-long 62.3 src/sage/symbolic/expression.pyx
> **********************************************************************
> File "src/sage/symbolic/expression.pyx", line 11105, in
> sage.symbolic.expression.Expression._plot_fast_callable
> Failed example:
>     plot(s)
> Expected:
>     Graphics object consisting of 1 graphics primitive
> Got:
>     Graphics object consisting of 0 graphics primitives
> **********************************************************************
> }}}

New description:

 The following can happen on some hardware architectures due to fused
 multiply-add instructions:
 {{{
 sage: x = CDF(0.99, 0.2)
 sage: x * x.conj()
 1.0201 + 1.1102230246251575e-19*I
 }}}

 It's annoying because it causes doctest failures, for example
 {{{
 sage -t --long --warn-long 62.3 src/sage/symbolic/expression.pyx
 **********************************************************************
 File "src/sage/symbolic/expression.pyx", line 11105, in
 sage.symbolic.expression.Expression._plot_fast_callable
 Failed example:
     plot(s)
 Expected:
     Graphics object consisting of 1 graphics primitive
 Got:
     Graphics object consisting of 0 graphics primitives
 **********************************************************************
 }}}
 See https://github.com/pynac/pynac/issues/117

--

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