Definition at line 272 of file aring-RRi.hpp.
273 {
274 if (n >= 2)
275 {
276 if (n%2 == 0)
277 {
282 }
283 else
284 {
289 }
290 }
291 else if (n == 1)
293 else if (n == 0)
295 else if (n<0)
296 throw 20;
297 }
void init(ElementType &result) const
void power(ElementType &result, const ElementType &a, int n) const
void mult(ElementType &result, const ElementType &a, const ElementType &b) const
VALGRIND_MAKE_MEM_DEFINED & result(result)
References init(), mult(), power(), and result().
Referenced by power(), and TEST().