B.3 Basic Operations: Member Functions

Team-Fly

B.3 Basic Operations: Member Functions

 const LINT& operator ++ (void); 

increment operator (prefix) ++a;

 const LINT operator ++ (int); 

increment operator (postfix) a++;

 const LINT& operator -- (void); 

decrement operator (prefix) −−a;

 const LINT operator -- (int); 

decrement operator (postfix) a−−;

 const LINT& operator += (const LINT& b); 

addition and assignment a += b;

 const LINT& operator -= (const LINT& b); 

subtraction and assignment a = b;

 const LINT& operator *= (const LINT& b); 

multiplication and assignment a *= b;

 const LINT& operator /= (const LINT& b); 

division and assignment a /= b;

 const LINT& operator %= (const LINT& b); 

remainder and assignment a %= b;

 const LINT& add (const LINT& b); 

addition c = a.add (b);

 const LINT& sub (const LINT& b); 

subtraction c = a.sub (b);

 const LINT& mul (const LINT& b); 

multiplication c = a.mul (b);

 const LINT& sqr (void); 

squaring c = a.sqr (b);

 const LINT& divr (const LINT& d, LINT& r); 

division with remainder quotient = dividend.div (divisor, remainder);


Team-Fly


Cryptography in C and C++
Cryptography in C and C++
ISBN: 189311595X
EAN: 2147483647
Year: 2001
Pages: 127

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net