Changes between Version 25 and Version 29 of Ticket #10952


Ignore:
Timestamp:
09/08/11 23:48:20 (9 years ago)
Author:
leif
Comment:

Shouldn't the code only be included if the doctests actually contain # tol ...?

( +[0-9.e+-]+)? hardly matches what we want btw.


I've put this onto the 1337 ticket (#11337).

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10952

    • Property Status changed from needs_review to positive_review
    • Property Keywords sd32 added
    • Property Authors changed from Robert Bradshaw to Robert Bradshaw, Rob Beezer
    • Property Reviewers changed from Jason Grout, Mariah Lenox to Jason Grout, Mariah Lenox, William Stein
  • Ticket #10952 – Description

    v25 v29  
    1 If a line contains ``tol`` or ``tolerance, numerical results are only
    2 verified to the given tolerance. This may be prefixed by ``abs[olute``
    3 or ``rel[ative]`` to specify whether to measure absolute or relative
    4 error; defaults to relative error except when the expected value is
    5 exactly zero:
     1If a line contains `tol` or `tolerance`, numerical results are only
     2verified to the given tolerance. This may be prefixed by `abs[olute]` or `rel[ative]` to specify whether to measure absolute or relative error; defaults to relative error except when the expected value is exactly zero:
    63
    74{{{
     
    129}}}
    1310
    14 This can be useful when the exact output is subject to rounding error
    15 and/or processor floating point arithmetic variation.
     11This can be useful when the exact output is subject to rounding error and/or processor floating point arithmetic variation.
    1612
    17 '''Apply''':
    18   1.  [attachment:10952-tol-bin.patch] - to the local/bin repo
    19   1.  [attachment:10952-tol-doc.2.patch] - to the devel/sage repo
    20   1.  [attachment:trac_10952-reviewer-docs-v3.patch] - to the devel/sage repo
     13----
    2114
     15Apply
     16 1. [attachment:10952-tol-bin.patch]
     17to the Sage '''scripts repository'''.
     18
     19Apply
     20 1. [attachment:10952-tol-doc.2.patch]
     21 1. [attachment:trac_10952-reviewer-docs-v3.patch]
     22to the Sage library repository.