Blame SOURCES/glm-0.9.6.1-ulp.patch

16b60b
diff -ru glm/glm/gtc/ulp.inl glm-ulp/glm/gtc/ulp.inl
16b60b
--- glm/glm/gtc/ulp.inl	2014-12-09 21:13:54.000000000 +0200
16b60b
+++ glm-ulp/glm/gtc/ulp.inl	2015-01-06 16:29:47.497932633 +0200
16b60b
@@ -316,7 +316,7 @@
16b60b
 		if(x < y)
16b60b
 		{
16b60b
 			T temp = x;
16b60b
-			while(temp != y)// && ulp < std::numeric_limits<std::size_t>::max())
16b60b
+			while(temp < y)// && ulp < std::numeric_limits<std::size_t>::max())
16b60b
 			{
16b60b
 				++ulp;
16b60b
 				temp = next_float(temp);
16b60b
@@ -325,7 +325,7 @@
16b60b
 		else if(y < x)
16b60b
 		{
16b60b
 			T temp = y;
16b60b
-			while(temp != x)// && ulp < std::numeric_limits<std::size_t>::max())
16b60b
+			while(temp < x)// && ulp < std::numeric_limits<std::size_t>::max())
16b60b
 			{
16b60b
 				++ulp;
16b60b
 				temp = next_float(temp);