ulp.hpp
Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 
00029 
00030 
00031 
00032 
00033 
00034 
00035 
00036 
00037 
00038 
00039 #pragma once
00040 
00041 // Dependencies
00042 #include "../detail/setup.hpp"
00043 #include "../detail/precision.hpp"
00044 #include "../detail/type_int.hpp"
00045 
00046 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
00047 #       pragma message("GLM: GLM_GTC_ulp extension included")
00048 #endif
00049 
00050 namespace glm
00051 {
00054 
00057         template <typename genType>
00058         GLM_FUNC_DECL genType next_float(genType const & x);
00059 
00062         template <typename genType>
00063         GLM_FUNC_DECL genType prev_float(genType const & x);
00064 
00067         template <typename genType>
00068         GLM_FUNC_DECL genType next_float(genType const & x, uint const & Distance);
00069 
00072         template <typename genType>
00073         GLM_FUNC_DECL genType prev_float(genType const & x, uint const & Distance);
00074         
00077         template <typename T>
00078         GLM_FUNC_DECL uint float_distance(T const & x, T const & y);
00079 
00082         template<typename T, template<typename> class vecType>
00083         GLM_FUNC_DECL vecType<uint> float_distance(vecType<T> const & x, vecType<T> const & y);
00084         
00086 }// namespace glm
00087 
00088 #include "ulp.inl"


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jun 6 2019 21:59:32