tlx
math.hpp
Go to the documentation of this file.
1 /*******************************************************************************
2  * tlx/math.hpp
3  *
4  * Part of tlx - http://panthema.net/tlx
5  *
6  * Copyright (C) 2017 Timo Bingmann <tb@panthema.net>
7  *
8  * All rights reserved. Published under the Boost Software License, Version 1.0
9  ******************************************************************************/
10 
11 #ifndef TLX_MATH_HEADER
12 #define TLX_MATH_HEADER
13 
14 //! \defgroup tlx_math Math Functions
15 //! Simple math functions
16 
17 /*[[[perl
18 print "#include <$_>\n" foreach sort glob("tlx/math/"."*.hpp");
19 ]]]*/
20 #include <tlx/math/abs_diff.hpp>
21 #include <tlx/math/aggregate.hpp>
23 #include <tlx/math/bswap.hpp>
24 #include <tlx/math/bswap_be.hpp>
25 #include <tlx/math/bswap_le.hpp>
26 #include <tlx/math/clz.hpp>
27 #include <tlx/math/ctz.hpp>
28 #include <tlx/math/div_ceil.hpp>
29 #include <tlx/math/ffs.hpp>
33 #include <tlx/math/popcount.hpp>
35 #include <tlx/math/rol.hpp>
36 #include <tlx/math/ror.hpp>
38 #include <tlx/math/round_up.hpp>
39 #include <tlx/math/sgn.hpp>
40 // [[[end]]]
41 
42 #endif // !TLX_MATH_HEADER
43 
44 /******************************************************************************/
power_to_the.hpp
is_power_of_two.hpp
sgn.hpp
aggregate.hpp
rol.hpp
ffs.hpp
ctz.hpp
integer_log2.hpp
polynomial_regression.hpp
ror.hpp
round_to_power_of_two.hpp
bswap.hpp
div_ceil.hpp
bswap_be.hpp
round_up.hpp
bswap_le.hpp
abs_diff.hpp
popcount.hpp
clz.hpp
aggregate_min_max.hpp