-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
Loss of precision in (complex) arcsinh & arctanh (Trac #1008) #1606
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@pv wrote on 2009-02-15 Correction: also
|
@pv wrote on 2009-02-28 Suggested fix: |
@pv wrote on 2009-03-01 Fixed in r6520. |
@cournape wrote on 2009-03-10 The tests fail on windows (with python 2.6 and Visual Studio 2008):
|
@pv wrote on 2009-03-10 Apparently there's loss of precision in Changed the test in r6620 so that it doesn't try to check
ie. do the numbers match, and which one deviates? |
@pv wrote on 2009-03-23 More fixes in r6715 - r6716: more precision for long doubles since on some platforms they are quad precision. Punched out the longdouble test if it seems that longdouble is finfo is broken on the platform. I believe the Windows issue is also fixed; the output above looks ok. |
@cournape wrote on 2009-03-12 I get this 9.13989773951 and (9.13989773951+0j) respectively. |
Original ticket http://projects.scipy.org/numpy/ticket/1008 on 2009-02-15 by @pv, assigned to unknown.
Numpy's complex
arcsinh
andarctanh
suffer from loss of precision at small arguments:However, complex
arcsin
andarctan
are OK:The text was updated successfully, but these errors were encountered: