1.0.0 API documentation: integer.hpp Source File

| 1.0.0 API documentation

gtc/integer.hpp
Go to the documentation of this file.
1
14 #pragma once
15
16 // Dependencies
17 #include "../detail/setup.hpp"
18 #include "../detail/qualifier.hpp"
19 #include "../common.hpp"
20 #include "../integer.hpp"
21 #include "../exponential.hpp"
22 #include "../ext/scalar_common.hpp"
23 #include "../ext/vector_common.hpp"
24 #include <limits>
25
26 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
27 # pragma message("GLM: GLM_GTC_integer extension included")
28 #endif
29
30 namespace glm
31 {
34
37 template<typename genIUType>
38 GLM_FUNC_DECL genIUType log2(genIUType x);
39
41 } //namespace glm
42
43 #include "integer.inl"
glm::log2
GLM_FUNC_DECL genIUType log2(genIUType x)
Returns the log2 of x for integer values.