1 --- glm/detail/type_half.inl
2 +++ glm/detail/type_half.inl
4 volatile float f = 1e10;
\r
6 for(int i = 0; i < 10; ++i)
\r
7 - f *= f; // this will overflow before the for loop terminates
\r
8 + f = f * f; // this will overflow before the for loop terminates
\r