43 #include "../detail/setup.hpp"
45 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
46 # pragma message("GLM: GLM_GTC_ulp extension included")
56 template <
typename genType>
57 GLM_FUNC_DECL genType
next_float(genType
const & x);
61 template <
typename genType>
62 GLM_FUNC_DECL genType
prev_float(genType
const & x);
66 template <
typename genType>
67 GLM_FUNC_DECL genType
next_float(genType
const & x,
uint const & Distance);
71 template <
typename genType>
72 GLM_FUNC_DECL genType
prev_float(genType
const & x,
uint const & Distance);
81 template<
typename T,
template<
typename>
class vecType>
82 GLM_FUNC_DECL vecType<uint>
float_distance(vecType<T>
const & x, vecType<T>
const & y);
GLM_FUNC_DECL genType next_float(genType const &x)
Return the next ULP value(s) after the input value(s).
unsigned int uint
Unsigned integer type.
GLM_FUNC_DECL uint float_distance(T const &x, T const &y)
Return the distance in the number of ULP between 2 scalars.
GLM_FUNC_DECL genType prev_float(genType const &x)
Return the previous ULP value(s) before the input value(s).