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
b2b2382d
Commit
b2b2382d
authored
Nov 21, 2010
by
Mark Dickinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix capitalization.
parent
d325c4b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Doc/library/decimal.rst
Doc/library/decimal.rst
+2
-2
No files found.
Doc/library/decimal.rst
View file @
b2b2382d
...
@@ -1717,7 +1717,7 @@ to work with the :class:`Decimal` class::
...
@@ -1717,7 +1717,7 @@ to work with the :class:`Decimal` class::
def cos(x):
def cos(x):
"""Return the cosine of x as measured in radians.
"""Return the cosine of x as measured in radians.
The
t
aylor series approximation works best for a small value of x.
The
T
aylor series approximation works best for a small value of x.
For larger values, first compute x = x % (2 * pi).
For larger values, first compute x = x % (2 * pi).
>>> print(cos(Decimal('0.5')))
>>> print(cos(Decimal('0.5')))
...
@@ -1743,7 +1743,7 @@ to work with the :class:`Decimal` class::
...
@@ -1743,7 +1743,7 @@ to work with the :class:`Decimal` class::
def sin(x):
def sin(x):
"""Return the sine of x as measured in radians.
"""Return the sine of x as measured in radians.
The
t
aylor series approximation works best for a small value of x.
The
T
aylor series approximation works best for a small value of x.
For larger values, first compute x = x % (2 * pi).
For larger values, first compute x = x % (2 * pi).
>>> print(sin(Decimal('0.5')))
>>> print(sin(Decimal('0.5')))
...
...
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