<ahref="a01360.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> </div><divclass="line"><aname="l00013"></a><spanclass="lineno"> 13</span> <spanclass="preprocessor">#pragma once</span></div><divclass="line"><aname="l00014"></a><spanclass="lineno"> 14</span> </div><divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> <spanclass="comment">// Dependency:</span></div><divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> <spanclass="preprocessor">#include "../glm.hpp"</span></div><divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> <spanclass="preprocessor">#include "../gtc/integer.hpp"</span></div><divclass="line"><aname="l00018"></a><spanclass="lineno"> 18</span> </div><divclass="line"><aname="l00019"></a><spanclass="lineno"> 19</span> <spanclass="preprocessor">#ifndef GLM_ENABLE_EXPERIMENTAL</span></div><divclass="line"><aname="l00020"></a><spanclass="lineno"> 20</span> <spanclass="preprocessor"># error "GLM: GLM_GTX_integer is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."</span></div><divclass="line"><aname="l00021"></a><spanclass="lineno"> 21</span> <spanclass="preprocessor">#endif</span></div><divclass="line"><aname="l00022"></a><spanclass="lineno"> 22</span> </div><divclass="line"><aname="l00023"></a><spanclass="lineno"> 23</span> <spanclass="preprocessor">#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)</span></div><divclass="line"><aname="l00024"></a><spanclass="lineno"> 24</span> <spanclass="preprocessor"># pragma message("GLM: GLM_GTX_integer extension included")</span></div><divclass="line"><aname="l00025"></a><spanclass="lineno"> 25</span> <spanclass="preprocessor">#endif</span></div><divclass="line"><aname="l00026"></a><spanclass="lineno"> 26</span> </div><divclass="line"><aname="l00027"></a><spanclass="lineno"> 27</span> <spanclass="keyword">namespace </span><aclass="code"href="a00794.html">glm</a></div><divclass="line"><aname="l00028"></a><spanclass="lineno"> 28</span> {</div><divclass="line"><aname="l00031"></a><spanclass="lineno"> 31</span> </div><divclass="line"><aname="l00034"></a><spanclass="lineno"> 34</span>  GLM_FUNC_DECL <spanclass="keywordtype">int</span><aclass="code"href="a00749.html#ga998e5ee915d3769255519e2fbaa2bbf0">pow</a>(<spanclass="keywordtype">int</span> x, uint y);</div><divclass="line"><aname="l00035"></a><spanclass="lineno"> 35</span> </div><divclass="line"><aname="l00038"></a><spanclass="lineno"> 38</span>  GLM_FUNC_DECL <spanclass="keywordtype">int</span><aclass="code"href="a00749.html#ga1975d318978d6dacf78b6444fa5ed7bc">sqrt</a>(<spanclass="keywordtype">int</span> x);</div><divclass="line"><aname="l00039"></a><spanclass="lineno"> 39</span> </div><divclass="line"><aname="l00042"></a><spanclass="lineno"> 42</span>  GLM_FUNC_DECL <spanclass="keywordtype">unsigned</span><spanclass="keywordtype">int</span><aclass="code"href="a00749.html#ga7011b4e1c1e1ed492149b028feacc00e">floor_log2</a>(<spanclass="keywordtype">unsigned</span><spanclass="keywordtype">int</span> x);</div><divclass="line"><aname="l00043"></a><spanclass="lineno"> 43</span> </div><divclass="line"><aname="l00046"></a><spanclass="lineno"> 46</span>  GLM_FUNC_DECL <spanclass="keywordtype">int</span><aclass="code"href="a00749.html#ga63fc8d63e7da1706439233b386ba8b6f">mod</a>(<spanclass="keywordtype">int</span> x, <spanclass="keywordtype">int</span> y);</div><divclass="line"><aname="l00047"></a><spanclass="lineno"> 47</span> </div><divclass="line"><aname="l00050"></a><spanclass="lineno"> 50</span> <
<divclass="ttc"id="a00749_html_ga78dff8bdb361bf0061194c93e003d189"><divclass="ttname"><ahref="a00749.html#ga78dff8bdb361bf0061194c93e003d189">glm::nlz</a></div><divclass="ttdeci">GLM_FUNC_DECL uint nlz(uint x)</div><divclass="ttdoc">Returns the number of leading zeros. </div></div>
<divclass="ttc"id="a00749_html_ga8cbd3120905f398ec321b5d1836e08fb"><divclass="ttname"><ahref="a00749.html#ga8cbd3120905f398ec321b5d1836e08fb">glm::factorial</a></div><divclass="ttdeci">GLM_FUNC_DECL genType factorial(genType const &x)</div><divclass="ttdoc">Return the factorial value of a number (!12 max, integer only) From GLM_GTX_integer extension...</div></div>
<divclass="ttc"id="a00749_html_ga7011b4e1c1e1ed492149b028feacc00e"><divclass="ttname"><ahref="a00749.html#ga7011b4e1c1e1ed492149b028feacc00e">glm::floor_log2</a></div><divclass="ttdeci">GLM_FUNC_DECL unsigned int floor_log2(unsigned int x)</div><divclass="ttdoc">Returns the floor log2 of x. </div></div>
<divclass="ttc"id="a00749_html_ga1975d318978d6dacf78b6444fa5ed7bc"><divclass="ttname"><ahref="a00749.html#ga1975d318978d6dacf78b6444fa5ed7bc">glm::sqrt</a></div><divclass="ttdeci">GLM_FUNC_DECL uint sqrt(uint x)</div><divclass="ttdoc">Returns the positive square root of x. </div></div>
<divclass="ttc"id="a00749_html_ga998e5ee915d3769255519e2fbaa2bbf0"><divclass="ttname"><ahref="a00749.html#ga998e5ee915d3769255519e2fbaa2bbf0">glm::pow</a></div><divclass="ttdeci">GLM_FUNC_DECL uint pow(uint x, uint y)</div><divclass="ttdoc">Returns x raised to the y power. </div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hrclass="footer"/><addressclass="footer"><small>
Generated by  <ahref="http://www.doxygen.org/index.html">