Nick Coghlan
5a901c62cc
Typo fix for decimal docs
2006-09-03 01:06:07 +00:00
Nick Coghlan
f1f42d850f
Fix final documentation nits before backporting decimal module fixes to 2.5
2006-09-03 01:02:00 +00:00
Raymond Hettinger
68b6d3b85a
Fix documentation nits for decimal context managers.
2006-09-02 17:07:23 +00:00
Nick Coghlan
e7877d930c
Further corrections to the decimal module context management documentation
2006-09-02 04:04:18 +00:00
Nick Coghlan
8b6999b4c5
Fix the wrongheaded implementation of context management in the decimal module and add unit tests. (python-dev discussion is ongoing regarding what we do about Python 2.5)
2006-08-31 12:00:43 +00:00
Georg Brandl
dd0c312703
Fix two small errors in argument lists.
2006-05-10 20:09:23 +00:00
Phillip J. Eby
168e99f6db
Document objects that can be used with the ``with`` statement.
2006-03-28 00:13:10 +00:00
Georg Brandl
caa94bd484
Correct misspellings.
2006-01-23 22:00:17 +00:00
Raymond Hettinger
1166638be5
Add FAQ entry regarding non-expoential representation.
2005-09-11 18:21:52 +00:00
Georg Brandl
f33d01d304
bug [ 1266296 ] Mistakes in decimal.Context.subtract documentation
2005-08-22 19:35:18 +00:00
Raymond Hettinger
87de8ed4b9
More info on rounding modes. Add sections for floating point notes.
2005-07-01 16:54:12 +00:00
Raymond Hettinger
ed65c3ad76
Fix nits.
2005-06-15 16:53:31 +00:00
Raymond Hettinger
d391d10d2e
Add a decimal FAQ
2005-06-07 18:50:56 +00:00
Raymond Hettinger
467024ccfc
Fix some wording and grammar nits.
2005-02-21 15:46:52 +00:00
Raymond Hettinger
4fd38b3f77
Fix typo.
2004-11-25 05:35:32 +00:00
Raymond Hettinger
3de9aa40ec
Make sure the money formatting recipe can doesn't run out of digits
...
to the right of the decimal point.
2004-11-25 04:47:09 +00:00
Raymond Hettinger
8f2c4eed93
SF bug #1071566 : moneyfmt recipe in decimal documentation has error
2004-11-24 05:53:26 +00:00
Facundo Batista
139af0295c
Fixed quantize syntax.
2004-11-20 00:33:51 +00:00
Facundo Batista
441609466b
SF bug 1060644. Better explanation of min() and max() methods. Thanks Raymond Hettinger and Tim Peters.
2004-11-12 02:03:36 +00:00
Edward Loper
dcdb4b4d78
Fixed minor typo in interactive example (extra blank line)
2004-09-28 03:08:57 +00:00
Raymond Hettinger
f4fd79ca49
Small wording fixups.
2004-08-26 03:11:56 +00:00
Andrew M. Kuchling
7ec7584813
Typo fix
2004-08-16 16:12:23 +00:00
Raymond Hettinger
8df4e6b020
Fix punctuation typo.
2004-08-15 23:51:38 +00:00
Raymond Hettinger
2864b808c7
Add a notes section to the docs:
...
* Discuss representation error versus loss of significance.
* Document special values including qNaN, sNaN, +0, -0.
* Show the suprising display of non-normalized zero values.
2004-08-15 23:47:48 +00:00
Raymond Hettinger
9296023938
Improve examples for working with the context API.
2004-07-14 21:06:55 +00:00
Raymond Hettinger
d7c7115926
Small elaboration and typo fixes.
2004-07-12 13:22:14 +00:00
Raymond Hettinger
65df07bf23
Minor improvements, fixups and wording changes everywhere.
2004-07-11 12:40:19 +00:00
Raymond Hettinger
bf4406971c
Improve Context construction and representation:
...
* Rename "trap_enablers" to just "traps".
* Simplify names of "settraps" and "setflags" to just "traps" and "flags".
* Show "capitals" in the context representation
* Simplify the Context constructor to match its repr form so that only
the set flags and traps need to be listed.
* Representation can now be run through eval().
Improve the error message when the Decimal constructor is given a float.
The test suite no longer needs a duplicate reset_flags method.
2004-07-10 14:14:37 +00:00
Raymond Hettinger
5aa478badf
Module and tests:
...
* Map conditions to related signals.
* Make contexts unhashable.
* Eliminate used "default" attribute in exception definitions.
* Eliminate the _filterfunc in favor of a straight list.
Docs:
* Eliminate documented references to conditions that are not signals.
* Eliminate parenthetical notes such as "1/0 --> Inf" which are no
longer true with the new defaults.
2004-07-09 10:02:53 +00:00
Raymond Hettinger
97c9208c6c
Incorporate Facundo's suggestions.
2004-07-09 06:13:12 +00:00
Raymond Hettinger
536f76b25a
Fix markup, typos, and nits.
2004-07-08 09:22:33 +00:00
Raymond Hettinger
2f55eb4cca
Demonstrate how to round final result.
2004-07-06 01:55:14 +00:00
Raymond Hettinger
10959b1c2a
Expand examples to show polymorphism
2004-07-05 21:13:28 +00:00
Raymond Hettinger
77e13b4ead
Simplify examples.
2004-07-05 20:27:53 +00:00
Raymond Hettinger
c4f93d4410
Doc tested the recipes.
2004-07-05 20:17:13 +00:00
Raymond Hettinger
9c719bafbf
Fix typo
2004-07-05 18:56:03 +00:00
Raymond Hettinger
d84efb3d93
* Added missing info on construction from a tuple.
...
* Added a recipe section.
2004-07-05 18:41:42 +00:00
Raymond Hettinger
8de63a206e
Add decimal docs to the core.
2004-07-05 05:52:03 +00:00