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")
35 template<length_t L,
typename T, qualifier Q>
36 GLM_FUNC_DECL vec<L, T, Q> nextFloat(vec<L, T, Q>
const& x);
45 template<length_t L,
typename T, qualifier Q>
46 GLM_FUNC_DECL vec<L, T, Q> nextFloat(vec<L, T, Q>
const& x,
int ULPs);
55 template<length_t L,
typename T, qualifier Q>
56 GLM_FUNC_DECL vec<L, T, Q> nextFloat(vec<L, T, Q>
const& x, vec<L, int, Q>
const& ULPs);
65 template<length_t L,
typename T, qualifier Q>
66 GLM_FUNC_DECL vec<L, T, Q> prevFloat(vec<L, T, Q>
const& x);
75 template<length_t L,
typename T, qualifier Q>
76 GLM_FUNC_DECL vec<L, T, Q> prevFloat(vec<L, T, Q>
const& x,
int ULPs);
85 template<length_t L,
typename T, qualifier Q>
86 GLM_FUNC_DECL vec<L, T, Q> prevFloat(vec<L, T, Q>
const& x, vec<L, int, Q>
const& ULPs);
94 template<length_t L,
typename T, qualifier Q>
95 GLM_FUNC_DECL vec<L, int, Q> floatDistance(vec<L, float, Q>
const& x, vec<L, float, Q>
const& y);
103 template<length_t L,
typename T, qualifier Q>
104 GLM_FUNC_DECL vec<L, int64, Q> floatDistance(vec<L, double, Q>
const& x, vec<L, double, Q>
const& y);
109 #include "vector_ulp.inl"