size_bound_in_base_helper< C, I > Struct Template Reference

#include <base_naive.hpp>

List of all members.

Static Public Member Functions


Detailed Description

template<typename C, typename I = C>
struct mmx::size_bound_in_base_helper< C, I >

Definition at line 25 of file base_naive.hpp.


Member Function Documentation

static nat size ( const C s,
const I &  p 
) [inline, static]

Definition at line 27 of file base_naive.hpp.

References mmx::N(), and mmx::value().

00027                                 {
00028     ASSERT (N (p) > 1, "invalid base");
00029     return is_signed_helper<C>::value ?
00030       1 + (1 + N (s)) / (N (p) - 1):
00031       1 + N (s) / (N (p) - 1); }


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

Generated on 20 Mar 2013 for algebramix by  doxygen 1.6.1