Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c6bbb295
Commit
c6bbb295
authored
Apr 21, 2009
by
Raymond Hettinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update links and version info.
parent
1fa9d65e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
Doc/library/decimal.rst
Doc/library/decimal.rst
+1
-1
Lib/decimal.py
Lib/decimal.py
+3
-1
No files found.
Doc/library/decimal.rst
View file @
c6bbb295
...
...
@@ -103,7 +103,7 @@ reset them before monitoring a calculation.
.. seealso::
* IBM's General Decimal Arithmetic Specification, `The General Decimal Arithmetic
Specification <http://
www2.hursley.ibm
.com/decimal/decarith.html>`_.
Specification <http://
speleotrove
.com/decimal/decarith.html>`_.
* IEEE standard 854-1987, `Unofficial IEEE 854 Text
<http://754r.ucbtest.org/standards/854.pdf>`_.
...
...
Lib/decimal.py
View file @
c6bbb295
...
...
@@ -17,7 +17,7 @@
This is an implementation of decimal floating point arithmetic based on
the General Decimal Arithmetic Specification:
www2.hursley.ibm
.com/decimal/decarith.html
http://speleotrove
.com/decimal/decarith.html
and IEEE standard 854-1987:
...
...
@@ -130,6 +130,8 @@ __all__ = [
'setcontext'
,
'getcontext'
,
'localcontext'
]
__version__
=
'1.70'
# Highest version of the spec this complies with
import
copy
as
_copy
import
math
as
_math
import
numbers
as
_numbers
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment