mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
add c++1y rightmost bit manipurations
This commit is contained in:
parent
56c9d52436
commit
e244ea2932
21 changed files with 560 additions and 183 deletions
22
sprout/bit/count.hpp
Normal file
22
sprout/bit/count.hpp
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*=============================================================================
|
||||
Copyright (c) 2011-2014 Bolero MURAKAMI
|
||||
https://github.com/bolero-MURAKAMI/Sprout
|
||||
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
=============================================================================*/
|
||||
#ifndef SPROUT_BIT_COUNT_HPP
|
||||
#define SPROUT_BIT_COUNT_HPP
|
||||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/bit/cntl0.hpp>
|
||||
#include <sprout/bit/cntt0.hpp>
|
||||
#include <sprout/bit/cntl1.hpp>
|
||||
#include <sprout/bit/cntt1.hpp>
|
||||
#include <sprout/bit/popcount.hpp>
|
||||
#include <sprout/bit/parity.hpp>
|
||||
#include <sprout/bit/clz.hpp>
|
||||
#include <sprout/bit/ctz.hpp>
|
||||
#include <sprout/bit/clrsb.hpp>
|
||||
|
||||
#endif // #ifndef SPROUT_BIT_COUNT_HPP
|
Loading…
Add table
Add a link
Reference in a new issue