|
Fermat
|
A functor to shift values to the left by a given amount of bits
#include <functors.h>
Public Types | |
| typedef T | argument_type |
| typedef T | result_type |
Public Methods | |
| CUGAR_HOST_DEVICE | r_bit_shift (const T bits) |
| CUGAR_HOST_DEVICE T | operator() (const T x) const |
|
inline |
constructor
| bits | shift size |
1.8.13