add_mod_helper< C, false > Struct Template Reference

#include <modular_int.hpp>

List of all members.

Static Public Member Functions


Detailed Description

template<typename V>
template<typename C>
struct mmx::modulus_add_int_naive< V >::add_mod_helper< C, false >

Definition at line 171 of file modular_int.hpp.


Member Function Documentation

static void op ( C dest,
const C s,
const C p,
C carry 
) [inline, static]

Definition at line 179 of file modular_int.hpp.

References modulus_add_int_naive< V >::add_mod_with_overflow(), modulus_add_int_naive< V >::add_mod_without_overflow(), and mmx::C.

00179                                                    {
00180       if (V::template maximum_size_helper<C>::value >= 8*sizeof(C))
00181         add_mod_with_overflow (dest, s, p, carry);
00182       else
00183         add_mod_without_overflow (dest, s, p, carry); }

static void op ( C dest,
const C s,
const C p 
) [inline, static]

Definition at line 173 of file modular_int.hpp.

References modulus_add_int_naive< V >::add_mod_with_overflow(), modulus_add_int_naive< V >::add_mod_without_overflow(), and mmx::C.

00173                                          {
00174       if (V::template maximum_size_helper<C>::value >= 8*sizeof(C))
00175         add_mod_with_overflow (dest, s, p);
00176       else
00177         add_mod_without_overflow (dest, s, p); }


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

Generated on 6 Dec 2012 for numerix by  doxygen 1.6.1