ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Classes | Typedefs | Functions | Variables
ModuleBase::libm Namespace Reference

Classes

struct  exp_data
 
union  mynumber
 

Typedefs

typedef int int4
 

Functions

int __branred (double x, double *a, double *aa)
 
template<typename FLOAT >
void __msincos (FLOAT x, FLOAT *s, FLOAT *c)
 
template<typename FLOAT >
FLOAT __mexp (FLOAT x)
 
template<typename FLOAT >
FLOAT __mhugeval ()
 
void __sincos (double x, double *sinx, double *cosx)
 
double __exp (double x)
 
template<>
double __mexp (double x)
 
template<>
void __msincos (double x, double *s, double *c)
 
template<>
double __mhugeval ()
 
template<typename FLOAT >
std::complex< FLOAT > __cexp_impl (const std::complex< FLOAT > &x)
 
std::complex< double > __cexp (const std::complex< double > &x)
 
double __cos (double x)
 
double __sin (double x)
 
float __expf (float x)
 
float __cosf (float x)
 
float __sinf (float x)
 
void __sincosf (float x, float *sinx, float *cosx)
 
std::complex< float > __cexpf (const std::complex< float > &x)
 
template<typename Tp >
Tp exp (Tp x)
 
template<typename Tp >
Tp cos (Tp x)
 
template<typename Tp >
Tp sin (Tp x)
 
template<typename Tp >
void sincos (Tp x, Tp *s, Tp *c)
 
template<typename Tp >
std::complex< Tp > exp (const std::complex< Tp > &x)
 
template<>
double exp (double x)
 
template<>
double cos (double x)
 
template<>
double sin (double x)
 
template<>
void sincos (double x, double *s, double *c)
 
template<>
std::complex< double > exp (const std::complex< double > &x)
 
template<>
float exp (float x)
 
template<>
float cos (float x)
 
template<>
float sin (float x)
 
template<>
void sincos (float x, float *s, float *c)
 
template<>
std::complex< float > exp (const std::complex< float > &x)
 

Variables

const exp_data __exp_data
 

Typedef Documentation

◆ int4

Function Documentation

◆ __branred()

int ModuleBase::libm::__branred ( double  x,
double *  a,
double *  aa 
)

◆ __cexp()

std::complex< double > ModuleBase::libm::__cexp ( const std::complex< double > &  x)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __cexp_impl()

template<typename FLOAT >
std::complex< FLOAT > ModuleBase::libm::__cexp_impl ( const std::complex< FLOAT > &  x)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __cexpf()

std::complex< float > ModuleBase::libm::__cexpf ( const std::complex< float > &  x)
inline
Here is the caller graph for this function:

◆ __cos()

double ModuleBase::libm::__cos ( double  x)
inline
Here is the caller graph for this function:

◆ __cosf()

float ModuleBase::libm::__cosf ( float  x)
inline
Here is the caller graph for this function:

◆ __exp()

double ModuleBase::libm::__exp ( double  x)
inline
Here is the caller graph for this function:

◆ __expf()

float ModuleBase::libm::__expf ( float  x)
inline
Here is the caller graph for this function:

◆ __mexp() [1/2]

template<>
double ModuleBase::libm::__mexp ( double  x)
inline
Here is the call graph for this function:

◆ __mexp() [2/2]

template<typename FLOAT >
FLOAT ModuleBase::libm::__mexp ( FLOAT  x)
Here is the caller graph for this function:

◆ __mhugeval() [1/2]

template<typename FLOAT >
FLOAT ModuleBase::libm::__mhugeval ( )

◆ __mhugeval() [2/2]

template<>
double ModuleBase::libm::__mhugeval ( )
inline

◆ __msincos() [1/2]

template<>
void ModuleBase::libm::__msincos ( double  x,
double *  s,
double *  c 
)
inline
Here is the call graph for this function:

◆ __msincos() [2/2]

template<typename FLOAT >
void ModuleBase::libm::__msincos ( FLOAT  x,
FLOAT *  s,
FLOAT *  c 
)
Here is the caller graph for this function:

◆ __sin()

double ModuleBase::libm::__sin ( double  x)
inline
Here is the caller graph for this function:

◆ __sincos()

void ModuleBase::libm::__sincos ( double  x,
double *  sinx,
double *  cosx 
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __sincosf()

void ModuleBase::libm::__sincosf ( float  x,
float *  sinx,
float *  cosx 
)
inline
Here is the caller graph for this function:

◆ __sinf()

float ModuleBase::libm::__sinf ( float  x)
inline
Here is the caller graph for this function:

◆ cos() [1/3]

template<>
double ModuleBase::libm::cos ( double  x)
inline
Here is the call graph for this function:

◆ cos() [2/3]

template<>
float ModuleBase::libm::cos ( float  x)
inline
Here is the call graph for this function:

◆ cos() [3/3]

template<typename Tp >
Tp ModuleBase::libm::cos ( Tp  x)
Here is the caller graph for this function:

◆ exp() [1/6]

template<>
std::complex< double > ModuleBase::libm::exp ( const std::complex< double > &  x)
inline
Here is the call graph for this function:

◆ exp() [2/6]

template<>
std::complex< float > ModuleBase::libm::exp ( const std::complex< float > &  x)
inline
Here is the call graph for this function:

◆ exp() [3/6]

template<typename Tp >
std::complex< Tp > ModuleBase::libm::exp ( const std::complex< Tp > &  x)

◆ exp() [4/6]

template<>
double ModuleBase::libm::exp ( double  x)
inline
Here is the call graph for this function:

◆ exp() [5/6]

template<>
float ModuleBase::libm::exp ( float  x)
inline
Here is the call graph for this function:

◆ exp() [6/6]

template<typename Tp >
Tp ModuleBase::libm::exp ( Tp  x)
Here is the caller graph for this function:

◆ sin() [1/3]

template<>
double ModuleBase::libm::sin ( double  x)
inline
Here is the call graph for this function:

◆ sin() [2/3]

template<>
float ModuleBase::libm::sin ( float  x)
inline
Here is the call graph for this function:

◆ sin() [3/3]

template<typename Tp >
Tp ModuleBase::libm::sin ( Tp  x)
Here is the caller graph for this function:

◆ sincos() [1/3]

template<>
void ModuleBase::libm::sincos ( double  x,
double *  s,
double *  c 
)
inline
Here is the call graph for this function:

◆ sincos() [2/3]

template<>
void ModuleBase::libm::sincos ( float  x,
float *  s,
float *  c 
)
inline
Here is the call graph for this function:

◆ sincos() [3/3]

template<typename Tp >
void ModuleBase::libm::sincos ( Tp  x,
Tp *  s,
Tp *  c 
)
Here is the caller graph for this function:

Variable Documentation

◆ __exp_data

const exp_data ModuleBase::libm::__exp_data

◆ i

int4 ModuleBase::libm::i[880]

◆ u

unsigned int ModuleBase::libm::u[880]

◆ x

double ModuleBase::libm::x[440]