realroot_doc 0.1.1
|
#include <numerics_hdwi.hpp>
Definition at line 47 of file numerics_hdwi.hpp.
typedef hardware_int hdw_int |
Definition at line 50 of file numerics_hdwi.hpp.
Definition at line 54 of file numerics_hdwi.hpp.
References hdwi< hardware_int >::nbit.
Referenced by mmx::reverse().
static void reverse | ( | unsigned | h, |
hdw_int & | a | ||
) | [inline, static] |
Definition at line 65 of file numerics_hdwi.hpp.
{ unsigned i; hdw_int c; c = 0; for ( i = 0; i < h; i ++ ) { c <<= 1; c |= a&1; a >>= 1; }; a = c; };
const unsigned nbit = sizeof(hardware_int)*8 [static] |
Definition at line 52 of file numerics_hdwi.hpp.
Referenced by hdwi< hardware_int >::reverse().
const T nmax [static] |
Definition at line 53 of file numerics_hdwi.hpp.