From 682979ddd8b4b0839c36bb0796a71c095b71cbd6 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Tue, 1 Apr 2014 23:58:41 +0200 Subject: [PATCH] Fixed next_float for double and fixed ULP tests --- glm/gtc/ulp.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/gtc/ulp.inl b/glm/gtc/ulp.inl index 017b230c..19ac7b47 100644 --- a/glm/gtc/ulp.inl +++ b/glm/gtc/ulp.inl @@ -214,7 +214,7 @@ namespace glm # if((GLM_LANG & GLM_LANG_CXX11_FLAG)) return std::nextafter(x, std::numeric_limits::max()); # elif((GLM_COMPILER & GLM_COMPILER_VC) || ((GLM_COMPILER & GLM_COMPILER_INTEL) && (GLM_PLATFORM & GLM_PLATFORM_WINDOWS))) - return detail::nextafterf(x, std::numeric_limits::max()); + return detail::nextafter(x, std::numeric_limits::max()); # else return nextafter(x, DBL_MAX); # endif