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

Commit

Permalink
Fix more numerical noise
Browse files Browse the repository at this point in the history
  • Loading branch information
jdemeyer committed Nov 29, 2014
1 parent 9d3cbbd commit abab222
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/functions/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -658,9 +658,9 @@ def _evalf_(self, n, z, parent=None, algorithm=None):
0.5671432904097838
sage: lambert_w(complex(1))
(0.5671432904097838+0j)
sage: lambert_w(RDF(-1)) # abs tol 1e-16
sage: lambert_w(RDF(-1)) # abs tol 2e-16
-0.31813150520476413 + 1.3372357014306895*I
sage: lambert_w(float(-1)) # abs tol 1e-16
sage: lambert_w(float(-1)) # abs tol 2e-16
(-0.31813150520476413+1.3372357014306895j)
"""
R = parent or s_parent(z)
Expand Down

0 comments on commit abab222

Please sign in to comment.