#14320: More doctests from the book "Calcul mathématique avec Sage"
-------------------------------------------------+-------------------------
       Reporter:  tdumont                        |        Owner:  mvngu
           Type:  enhancement                    |       Status:
       Priority:  minor                          |  needs_review
      Component:  doctest coverage               |    Milestone:  sage-5.12
       Keywords:                                 |   Resolution:
        Authors:  Thierry Dumont, Paul           |    Merged in:
  Zimmermann                                     |    Reviewers:
Report Upstream:  Completely fixed; Fix          |  Work issues:
  reported upstream                              |       Commit:
         Branch:                                 |     Stopgaps:
   Dependencies:                                 |
-------------------------------------------------+-------------------------
Changes (by {'newvalue': u'Thierry Dumont, Paul Zimmermann', 'oldvalue': 
u'Thierry Dumont'}):

 * status:  new => needs_review
 * type:  task => enhancement
 * author:  Thierry Dumont => Thierry Dumont, Paul Zimmermann


Old description:

> The attached file provides doctests for examples in the chapter "float"
> (floating point numbers). Tests pass with 5.8.

New description:

 The attached file provides doctests for examples in the chapter "float"
 (floating point numbers). Tests pass with 5.11.

 Apply only trac_14320_doctests_from_french_book.patch.

--

Comment:

 I've attached a well-formed patch. I had to modify two things with respect
 to the book (which was with Sage 5.9), due to some recent changes in RDF:

 * I added "abs tol 0.05" somewhere to avoid a failing test with 5.11

 * {{{exact-sommation compensee}}} now gives 0.0 with 5.11 (instead of
 -0.001953125 with 5.9).
   I thus changed to 0.0 in the doctest. This will thus differ from the
 book, which should be
   updated to 5.11 (adding "abs tol" is not enough).

 Paul

--
Ticket URL: <http://trac.sagemath.org/ticket/14320#comment:2>
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/groups/opt_out.

Reply via email to