Effective implementation of algorithms (Master Thesis)
Effective and error-free implementation of algorithms
math::powermod::MultmodExtendedOpt Class Reference

#include <multmod_extended.h>

List of all members.

Static Public Member Functions

template<typename T >
static T max_argument (T UNUSED(x))
template<typename T >
static T multmod (T a, T b, T modulo)

Detailed Description

Optimized version of MultmodExtended

This is previous version with fixed shift=1, but we optimized modular arithmetic using only additions/subtractions


Member Function Documentation

template<typename T >
static T math::powermod::MultmodExtendedOpt::max_argument ( T   UNUSEDx) [inline, static]
template<typename T >
static T math::powermod::MultmodExtendedOpt::multmod ( a,
b,
modulo 
) [inline, static]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines