CAPD::DynSys Library  6.0.0
MpInt.h File Reference

Defines C++ wrapper for multiple precision integers from gmpxx library. More...

#include <cstddef>
#include <gmpxx.h>
#include <gmp.h>
#include <stdexcept>
#include "capd/basicalg/minmax.h"
#include "capd/basicalg/doubleFun.h"
#include "capd/basicalg/TypeTraits.h"

Classes

struct  capd::TypeTraits< capd::multiPrec::MpInt >
 

Namespaces

 capd
 
 capd::multiPrec
 

Typedefs

typedef mpz_class capd::multiPrec::MpInt
 

Functions

capd::multiPrec::MpInt power (const capd::multiPrec::MpInt &base, int exp)
 
capd::multiPrec::MpInt nonnegativePart (const capd::multiPrec::MpInt &x)
 
template<>
capd::multiPrec::MpInt capd::abs (const capd::multiPrec::MpInt &x)
 
template<>
long capd::convertToLong (const capd::multiPrec::MpInt &x)
 

Detailed Description

Defines C++ wrapper for multiple precision integers from gmpxx library.

Author
Tomasz Kapela
Date
2010-03-08

Function Documentation

◆ nonnegativePart()

capd::multiPrec::MpInt nonnegativePart ( const capd::multiPrec::MpInt x)
inline

◆ power()

capd::multiPrec::MpInt power ( const capd::multiPrec::MpInt base,
int  exp 
)
inline