forked from icaven/glm
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Unexpected compMin
behavior.
#1215
Labels
Comments
GLSL defines min as:
which should match |
Erm, the comment, the example don't match. Without clarification, I will just close this issue. Maybe that's a feature request for a |
MaxSac
pushed a commit
to MaxSac/glm
that referenced
this issue
Jan 25, 2024
christophe-lunarg
pushed a commit
that referenced
this issue
Feb 6, 2024
christophe-lunarg
pushed a commit
that referenced
this issue
Feb 7, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to calculate the
compMin
from a vector which includes aNaN
.The result seems to be dependent on the position of the
NaN
in the vector.It may be a different behavior than the c++ standard suggests [IEEE floating-point arithmetic (IEC 60559)] (and my naive intuition 😆 ).
Is this kind of functionality intentional?
The text was updated successfully, but these errors were encountered: