gtc/ulp.hpp
Go to the documentation of this file.
1 
39 #pragma once
40 
41 // Dependencies
42 #include "../detail/setup.hpp"
43 #include "../detail/precision.hpp"
44 #include "../detail/type_int.hpp"
45 
46 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
47 # pragma message("GLM: GLM_GTC_ulp extension included")
48 #endif
49 
50 namespace glm
51 {
54 
57  template <typename genType>
58  GLM_FUNC_DECL genType next_float(genType const & x);
59 
62  template <typename genType>
63  GLM_FUNC_DECL genType prev_float(genType const & x);
64 
67  template <typename genType>
68  GLM_FUNC_DECL genType next_float(genType const & x, uint const & Distance);
69 
72  template <typename genType>
73  GLM_FUNC_DECL genType prev_float(genType const & x, uint const & Distance);
74 
77  template <typename T>
78  GLM_FUNC_DECL uint float_distance(T const & x, T const & y);
79 
82  template<typename T, template<typename> class vecType>
83  GLM_FUNC_DECL vecType<uint> float_distance(vecType<T> const & x, vecType<T> const & y);
84 
86 }// namespace glm
87 
88 #include "ulp.inl"
unsigned int uint
Definition: posegraph3.hh:51
GLM_FUNC_DECL uint float_distance(T const &x, T const &y)
GLM_FUNC_DECL genType prev_float(genType const &x)
GLM_FUNC_DECL genType next_float(genType const &x)
#define GLM_FUNC_DECL
Definition: setup.hpp:728


rtabmap
Author(s): Mathieu Labbe
autogenerated on Wed Jun 5 2019 22:43:40