include/algebramix/base_int.hpp File Reference

#include <numerix/modular_int.hpp>
#include <algebramix/base.hpp>
#include <algebramix/base_dicho.hpp>

Go to the source code of this file.

Classes

Namespaces

Defines

Functions


Define Documentation

#define DECLARE_HELPER (  ) 
Value:
template<typename J>                                    \
  struct size_bound_in_base_helper<I,J> {               \
  static inline nat                                     \
  size (const I& s, const J& p) {                       \
    ASSERT (bit_size (p) > 1, "invalid base");          \
    return is_signed_helper<I>::value ?                 \
      1 + (1 + bit_size (s)) / (bit_size (p) - 1):      \
      1 + bit_size (s) / (bit_size (p) - 1); } };

Definition at line 71 of file base_int.hpp.

#define DECLARE_HELPER (  ) 
Value:
STMPL                                           \
  struct base_naive_variant_helper<I> {         \
    typedef base_naive_uint BV;                 \
  };                                            \
  STMPL                                         \
  struct base_dicho_variant_helper<I> {         \
    typedef base_dicho_uint BV;                 \
  };

Definition at line 71 of file base_int.hpp.

#define DECLARE_HELPER (  ) 
Value:
STMPL                                                   \
  struct base_naive_variant_helper<I> {                 \
    typedef base_naive_int BV;                          \
  };                                                    \
  STMPL                                                 \
  struct base_dicho_variant_helper<I> {                 \
    typedef base_dicho_int BV;                          \
  };                                                    \
  template<typename C>                                  \
  struct base_transformer_helper_unsigned<C,I> {        \
    typedef typename Base_transformer(C,I) Baser;       \
  };

Definition at line 71 of file base_int.hpp.


Generated on 6 Dec 2012 for algebramix by  doxygen 1.6.1