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
9973ee86
Commit
9973ee86
authored
Jul 22, 2008
by
Raymond Hettinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove out-of-date section on Exact/Inexact.
parent
5aa0b4d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
Doc/whatsnew/2.6.rst
Doc/whatsnew/2.6.rst
+0
-8
No files found.
Doc/whatsnew/2.6.rst
View file @
9973ee86
...
@@ -1324,14 +1324,6 @@ The most general ABC is :class:`Number`. It defines no operations at
...
@@ -1324,14 +1324,6 @@ The most general ABC is :class:`Number`. It defines no operations at
all, and only exists to allow checking if an object is a number by
all, and only exists to allow checking if an object is a number by
doing ``isinstance(obj, Number)``.
doing ``isinstance(obj, Number)``.
Numbers are further divided into :class:`Exact` and :class:`Inexact`.
Exact numbers can represent values precisely and operations never
round off the results or introduce tiny errors that may break the
commutativity and associativity properties; inexact numbers may
perform such rounding or introduce small errors. Integers, long
integers, and rational numbers are exact, while floating-point
and complex numbers are inexact.
:class:`Complex` is a subclass of :class:`Number`. Complex numbers
:class:`Complex` is a subclass of :class:`Number`. Complex numbers
can undergo the basic operations of addition, subtraction,
can undergo the basic operations of addition, subtraction,
multiplication, division, and exponentiation, and you can retrieve the
multiplication, division, and exponentiation, and you can retrieve the
...
...
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