Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
doctests added
Browse files Browse the repository at this point in the history
  • Loading branch information
behackl committed Sep 1, 2015
1 parent bb3f707 commit d4ae5d3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/sage/rings/asymptotic/asymptotic_ring.py
Original file line number Diff line number Diff line change
Expand Up @@ -1468,6 +1468,19 @@ def exp(self, precision=None):
sage: (x^(-1)).exp(precision=7)
1 + x^(-1) + 1/2*x^(-2) + 1/6*x^(-3) + ... + O(x^(-7))
TESTS::
sage: A.<x> = AsymptoticRing('SR^x * x^QQ * log(x)^QQ', SR)
sage: exp(log(x))
x
sage: log(exp(x))
x
::
sage: exp(x+1)
e*e^x
"""
return self._rpow_(precision=precision)

Expand Down

0 comments on commit d4ae5d3

Please sign in to comment.