int_bitsize_helper_rec< uC, s, x > Struct Template Reference

Store the bitsize of abs (p) in field value. More...

#include <int.hpp>

List of all members.

Static Public Attributes


Detailed Description

template<typename uC, nat s, uC x>
struct mmx::int_bitsize_helper_rec< uC, s, x >

Store the bitsize of abs (p) in field value.

Definition at line 282 of file int.hpp.


Member Data Documentation

const uC mask = (uC) ((( s2 ) >= 8*sizeof( uC )) ? (( uC ) 0) : ((( uC ) -1 ) << (( s2 )/2)) << (( s2 )-( s2 )/2)) [static]

Definition at line 284 of file int.hpp.

const nat s2 = s >> 1 [static]

Definition at line 283 of file int.hpp.

const uC size [static]
Initial value:
 (x & mask) ?
    (s2 + int_bitsize_helper_rec< uC, s2, (x >> s2)>::size) :
    int_bitsize_helper_rec< uC, s2, x >::size

Definition at line 285 of file int.hpp.


The documentation for this struct was generated from the following file:

Generated on 6 Dec 2012 for basix by  doxygen 1.6.1