numerix_doc 0.4
|
#include <modular_int.hpp>
Definition at line 244 of file modular_int.hpp.
Definition at line 359 of file modular_int.hpp.
{ if (is_signed_helper<C>::value) { typedef typename unsigned_of_helper<C>::type uC; uC t = dest; mul_mod (t, (uC) s, m); dest = t; } else { typedef typename unsigned_int_with_double_size_helper<C>::type D; mul_mod_helper<C,D>::op (dest, s, m.p); } }
static void mul_mod | ( | C & | dest, |
const C & | s1, | ||
const C & | s2, | ||
const M & | m, | ||
C & | carry | ||
) | [inline, static] |
Definition at line 392 of file modular_int.hpp.
{ dest = s1; mul_mod (dest, s2, m, carry); }
Definition at line 387 of file modular_int.hpp.
{ dest = s1; mul_mod (dest, s2, m); }
Definition at line 373 of file modular_int.hpp.
{ if (is_signed_helper<C>::value) { typedef typename unsigned_of_helper<C>::type uC; uC t = dest, ucarry= carry; mul_mod (t, (uC) s, m, ucarry); dest = t; carry= ucarry; } else { typedef typename unsigned_int_with_double_size_helper<C>::type D; mul_mod_helper<C,D>::op (dest, s, m.p, carry); } }