#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 multiplier_helper< C, D, m >::mul(), and mmx::value().
00194 { 00195 static const nat m = size_helper::template maximum_size_helper<C>::value; 00196 typedef typename unsigned_of_helper<C>::type uC; 00197 typedef typename unsigned_int_with_double_size_helper<uC>::type uD; 00198 uC tmp = dest; 00199 multiplier_helper<uC,uD,m>::mul (tmp, (uC) src, 00200 (uC) x.p, x.r, (uC) presrc); 00201 dest = tmp; }
Definition at line 183 of file multiplier.hpp.
References multiplier_helper< C, D, m >::set(), mmx::value(), and mmx::x.
00183 { 00184 static const nat m = size_helper::template maximum_size_helper<C>::value; 00185 typedef typename unsigned_of_helper<C>::type uC; 00186 typedef typename unsigned_int_with_double_size_helper<uC>::type uD; 00187 uC tmp = dest; 00188 multiplier_helper<uC,uD,m>::set (tmp, (uC) src, 00189 (uC) x.p, (uC) x.q, 00190 x.r, x.s, x.t); 00191 dest = tmp; }