On Tue, Dec 29, 2009 at 3:29 PM, Dr. David Kirkby <david.kir...@onetel.net> wrote: > I started to run the Sage 4.3 tests suite on 't2' some time back (It has been > going about 36 hours now. Perhaps it might finish before 4.3.1 comes out.) > > There are a few failures, but these couple just came up, and look rather odd, > as > this is only an error in the last decimal place, and so will be subject to > rounding errors with different floating point processors. They do not really > seem failures to me.
They are important. Search sage-devel, sage-release, and sage-trac for numerical noise" for hundreds (?) of examples of how to deal with such issues. The main point is to change the doctest to sage: py_exp(float(1)) 2.7182818284590... if by hand we've determined that the mistake is really due to different floating point conventions. > > > ********************************************************************** > File "/rootpool2/local/kirkby/sage-4.3/devel/sage/sage/symbolic/pynac.pyx", > line > 1276: > sage: py_exp(float(1)) > Expected: > 2.7182818284590451 > Got: > 2.7182818284590455 > ********************************************************************** > > > > ********************************************************************** > File > "/rootpool2/local/kirkby/sage-4.3/devel/sage/sage/symbolic/constants_c.pyx", > line 195: > sage: float(e) > Expected: > 2.7182818284590451 > Got: > 2.7182818284590455 > ********************************************************************** > > -- > To post to this group, send an email to sage-devel@googlegroups.com > To unsubscribe from this group, send an email to > sage-devel+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/sage-devel > URL: http://www.sagemath.org > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org