瀏覽代碼

Fixed next_float for double and fixed ULP tests

Christophe Riccio 11 年之前
父節點
當前提交
682979ddd8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      glm/gtc/ulp.inl

+ 1 - 1
glm/gtc/ulp.inl

@@ -214,7 +214,7 @@ namespace glm
 #		if((GLM_LANG & GLM_LANG_CXX11_FLAG))
 			return std::nextafter(x, std::numeric_limits<double>::max());
 #		elif((GLM_COMPILER & GLM_COMPILER_VC) || ((GLM_COMPILER & GLM_COMPILER_INTEL) && (GLM_PLATFORM & GLM_PLATFORM_WINDOWS)))
-			return detail::nextafterf(x, std::numeric_limits<double>::max());
+			return detail::nextafter(x, std::numeric_limits<double>::max());
 #		else
 			return nextafter(x, DBL_MAX);
 #		endif