Description: Fix potential infinite loop in float_distance()
Author: Guus Sliepen <guus@debian.org>
Last-Update: 2017-04-19

--- glm-0.9.8.3.orig/glm/gtc/ulp.inl
+++ glm-0.9.8.3/glm/gtc/ulp.inl
@@ -287,7 +287,7 @@ namespace glm
 		if(x < y)
 		{
 			T temp = x;
-			while(temp != y)// && ulp < std::numeric_limits<std::size_t>::max())
+			while(temp < y)// && ulp < std::numeric_limits<std::size_t>::max())
 			{
 				++ulp;
 				temp = next_float(temp);
@@ -296,7 +296,7 @@ namespace glm
 		else if(y < x)
 		{
 			T temp = y;
-			while(temp != x)// && ulp < std::numeric_limits<std::size_t>::max())
+			while(temp < x)// && ulp < std::numeric_limits<std::size_t>::max())
 			{
 				++ulp;
 				temp = next_float(temp);
