algebramix_doc 0.3
|
#include <multiplier.hpp>
Definition at line 80 of file multiplier.hpp.
typedef modulus_maximum_size_int<size> size_helper |
Definition at line 81 of file multiplier.hpp.
Definition at line 194 of file multiplier.hpp.
References modulus_multiplier_int_preinverse_helper< size >::multiplier_helper< C, D, m >::mul(), and mmx::value().
{ static const nat m = size_helper::template maximum_size_helper<C>::value; typedef typename unsigned_of_helper<C>::type uC; typedef typename unsigned_int_with_double_size_helper<uC>::type uD; uC tmp = dest; multiplier_helper<uC,uD,m>::mul (tmp, (uC) src, (uC) x.p, x.r, (uC) presrc); dest = tmp; }
Definition at line 183 of file multiplier.hpp.
References modulus_multiplier_int_preinverse_helper< size >::multiplier_helper< C, D, m >::set(), and mmx::value().
{ static const nat m = size_helper::template maximum_size_helper<C>::value; typedef typename unsigned_of_helper<C>::type uC; typedef typename unsigned_int_with_double_size_helper<uC>::type uD; uC tmp = dest; multiplier_helper<uC,uD,m>::set (tmp, (uC) src, (uC) x.p, (uC) x.q, x.r, x.s, x.t); dest = tmp; }