-
Notifications
You must be signed in to change notification settings - Fork 30
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
Provide more "inline" operators such as copysign, isfinite, etc... #92
Labels
enhancement
New feature or request
Comments
This was referenced Apr 6, 2021
Closed
I put the text of issue #93 into your orginal request to have it all here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Certain math functions such as
copysign
can be implemented efficiently with bitwise operations. It would be convenient to have these available:copysign
isfinite
isinf
isnan
isnormal
signbit
I find the non-standard
flipsign
function https://docs.julialang.org/en/v1/base/math/#Base.flipsign convenient, e.g. to implement upwind finite differencing stencils. It can be defined asbut can be implemented more efficiently as
The text was updated successfully, but these errors were encountered: