20 #include "../ext/scalar_ulp.hpp"
22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_EXT_vector_ulp extension included")
38 template<length_t L,
typename T, qualifier Q>
39 GLM_FUNC_DECL vec<L, T, Q>
nextFloat(vec<L, T, Q>
const& x);
48 template<length_t L,
typename T, qualifier Q>
49 GLM_FUNC_DECL vec<L, T, Q>
nextFloat(vec<L, T, Q>
const& x,
int ULPs);
58 template<length_t L,
typename T, qualifier Q>
59 GLM_FUNC_DECL vec<L, T, Q>
nextFloat(vec<L, T, Q>
const& x, vec<L, int, Q>
const& ULPs);
68 template<length_t L,
typename T, qualifier Q>
69 GLM_FUNC_DECL vec<L, T, Q>
prevFloat(vec<L, T, Q>
const& x);
78 template<length_t L,
typename T, qualifier Q>
79 GLM_FUNC_DECL vec<L, T, Q>
prevFloat(vec<L, T, Q>
const& x,
int ULPs);
88 template<length_t L,
typename T, qualifier Q>
89 GLM_FUNC_DECL vec<L, T, Q>
prevFloat(vec<L, T, Q>
const& x, vec<L, int, Q>
const& ULPs);
97 template<length_t L,
typename T, qualifier Q>
98 GLM_FUNC_DECL vec<L, int, Q>
floatDistance(vec<L, float, Q>
const& x, vec<L, float, Q>
const& y);
106 template<length_t L,
typename T, qualifier Q>
107 GLM_FUNC_DECL vec<L, int64, Q>
floatDistance(vec<L, double, Q>
const& x, vec<L, double, Q>
const& y);
112 #include "vector_ulp.inl"