19 #include "../ext/scalar_int_sized.hpp" 20 #include "../common.hpp" 21 #include "../detail/qualifier.hpp" 23 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED) 24 # pragma message("GLM: GLM_EXT_scalar_ulp extension included") 34 template<
typename genType>
42 template<
typename genType>
50 template<
typename genType>
51 GLM_FUNC_DECL genType
next_float(genType x,
int ULPs);
58 template<
typename genType>
59 GLM_FUNC_DECL genType
prev_float(genType x,
int ULPs);
74 #include "scalar_ulp.inl" GLM_FUNC_DECL genType next_float(genType x)
Return the next ULP value(s) after the input value(s).
GLM_FUNC_DECL genType prev_float(genType x)
Return the previous ULP value(s) before the input value(s).
GLM_FUNC_DECL int float_distance(float x, float y)
Return the distance in the number of ULP between 2 single-precision floating-point scalars...
detail::int64 int64
64 bit signed integer type.