Fix percentage markers in PEP 485 per Chris Barker's edits
This commit is contained in:
parent
9e4c0dd449
commit
2a0e763757
|
@ -179,11 +179,11 @@ definition of relative tolerance.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
For the question: "Is the value of a within x% of b?", Using b to
|
For the question: "Is the value of a within 10% of b?", Using b to
|
||||||
scale the percent error clearly defines the result.
|
scale the percent error clearly defines the result.
|
||||||
|
|
||||||
However, as this approach is not symmetric, a may be within 10% of b,
|
However, as this approach is not symmetric, a may be within 10% of b,
|
||||||
but b is not within x% of a. Consider the case::
|
but b is not within 10% of a. Consider the case::
|
||||||
|
|
||||||
a = 9.0
|
a = 9.0
|
||||||
b = 10.0
|
b = 10.0
|
||||||
|
|
Loading…
Reference in New Issue