#include <modular_int.hpp>
Definition at line 530 of file modular_int.hpp.
Definition at line 647 of file modular_int.hpp.
Referenced by _inverse_helper< void, Dummy >::dyn_value().
00647 { 00648 typedef typename unsigned_of_helper<C>::type uC; 00649 typedef typename unsigned_int_with_double_size_helper<C>::type D; 00650 return _dynamic_inverse_helper<C,D>::op ((uC) p, r, s, t); 00651 }
Definition at line 625 of file modular_int.hpp.
Definition at line 634 of file modular_int.hpp.
static void mul_mod | ( | C & | dest, | |
const C & | s1, | |||
const C & | s2, | |||
const M & | x, | |||
C & | carry | |||
) | [inline, static] |
Definition at line 921 of file modular_int.hpp.
00921 { 00922 dest = s1; 00923 mul_mod (dest, s2, x, carry); }
Definition at line 916 of file modular_int.hpp.
00916 { 00917 dest = s1; 00918 mul_mod (dest, s2, x); }
Definition at line 906 of file modular_int.hpp.
00906 { 00907 static const nat m = V::template maximum_size_helper<C>::value; 00908 typedef typename unsigned_of_helper<C>::type uC; 00909 typedef typename unsigned_int_with_double_size_helper<uC>::type uD; 00910 uC tmp = dest, ucarry = carry; 00911 mul_mod_helper<uC,uD,m>::op (tmp, (uC) src, (uC) x.p, ucarry, 00912 (uC) x.q, x.r, x.s, x.t); 00913 dest = tmp; carry = ucarry; }
Definition at line 896 of file modular_int.hpp.
00896 { 00897 static const nat m = V::template maximum_size_helper<C>::value; 00898 typedef typename unsigned_of_helper<C>::type uC; 00899 typedef typename unsigned_int_with_double_size_helper<uC>::type uD; 00900 uC tmp = dest; 00901 mul_mod_helper<uC,uD,m>::op (tmp, (uC) src, (uC) x.p, 00902 (uC) x.q, x.r, x.s, x.t); 00903 dest = tmp; }