-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Implement all functions in #6148 except for 'pow' functions #8801
Conversation
@@ -1 +1 @@ | |||
Subproject commit 5599b8cdbb369e1ab17d48ed7d9d60d5ee279a26 | |||
Subproject commit a12eb3329cd2c0224ef631ea062fa16d119da47c |
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 is going backwards, you don't want this included here - should put this back to 5599b8
submodules are annoying like this - next time you see a weird diff in a submodule, try doing git submodule update
and it should go away
Thanks for the contribution. Looks like |
Yeah, you're right about |
Since some users use the system libm, it wouldn't be very useful to have On Friday, October 24, 2014, Jeffrey Rogers [email protected]
|
Would implementing the functions in openlibm and falling back to the Julia versions if they aren't available be an acceptable way to handle that problem? |
The problem is that an implementation like |
Right, so assuming an accurate implementation is possible in openlibm, is it better to expose it even though some users won't be able to use the accurate implementation and will fall back to a pure Julia version or should it just be left out? |
I think it's better not to have it. If somebody understands these issues and specifically needs and uses |
Okay, that makes sense. I'll just close this issue then, since it doesn't look like there's much I can do. |
Only for people who use system libm, right? Maybe the best thing to do would be to try adding the specialized implementations to openlibm, and expose them with |
If efficient C versions are to be coded up, it would probably be better to add them to https://github.com/JuliaLang/openspecfun. These were actually added to openlibm at one point, but then it was decided to attempt to maintain compatibility with system libm. |
Oh yeah, duh, that is pretty much the point of having openspecfun be separate. |
Pretty much what the title says #6148 suggested adding several functions to Julia based on the IEEE-754 standard. All were possible to write with very brief, simple code. I didn't implement the
pow
functions, both because Julia provides exponentiation as an operator (rather than a function) and because some functionality will require #2976 to be completed first.