You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This implementation of isfinite should report any floating point value <= 0 as infinite.
The reason is that for floating point types, std::numeric_limits<T>::min() is actually the smallest representable positive value (i.e. > 0) of the type instead of the smallest representable value overall.
In this case -std::numeric_limits<T>::max() should be used (std::numeric_limits<T>::lower() for C++11).
The function glm::infinite(x) from compatibility.inl calls itself, resulting in an infinite loop when using gcc (non-android / no c++11).
The text was updated successfully, but these errors were encountered: