-
Notifications
You must be signed in to change notification settings - Fork 243
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
added cauchy link function #304
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great, thanks!
@@ -66,6 +64,118 @@ def log1p(expr): | |||
utils.div(utils.mul(expr, ast.LogExpr(expr1p)), expr1pm1)) | |||
|
|||
|
|||
def atan(expr): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks super scary :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I know! 😃
But it was the only one I could find with appropriate accuracy. Others either have error about 1e-4 - 1e-6 or look even more scary. I even cannot remember how many trials I've made. There were Chebyshev, CORDIC, Taylor, Remez (in Sollya package)...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, impressive. Amazing work as always 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Refer to #228.