Skip to content
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

fast branchless sign function #271

Merged
merged 1 commit into from
Nov 20, 2014
Merged

fast branchless sign function #271

merged 1 commit into from
Nov 20, 2014

Conversation

plasmacel
Copy link

this implementation of the sign function is fast, branchless and works with any glm type

reference
http://stackoverflow.com/questions/1903954/is-there-a-standard-sign-function-signum-sgn-in-c-c

@Groovounet Groovounet self-assigned this Nov 20, 2014
@Groovounet Groovounet added this to the GLM 0.9.6 milestone Nov 20, 2014
Groovounet added a commit that referenced this pull request Nov 20, 2014
fast branchless sign function #271
@Groovounet Groovounet merged commit fe20b21 into g-truc:master Nov 20, 2014
@Groovounet
Copy link
Member

Thanks for contributing!

Groovounet pushed a commit that referenced this pull request Nov 20, 2014
Groovounet pushed a commit that referenced this pull request Nov 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants