Go to the documentation of this file.
9 #define _USE_MATH_DEFINES
13 #define M_PI 3.14159265358979323846264338327
19 # define EPS DBL_EPSILON
22 # define EPS std::numeric_limits<double>::epsilon()
25 #include <sys/types.h>
39 typedef std::complex<Real>
Cmplx;
73 static inline std::string
name() {
return "double"; }
79 static inline std::string
name() {
return "long double"; }
85 static inline std::string
name() {
return "complex<double>"; }
91 static inline std::string
name() {
return "complex<long double>"; }
134 template<
typename F,
typename G>
175 #endif // typedefs_hh
Type of the data inside a container.
unsigned char uchar
Abbreviation for unsigned char.
static std::string name()
static std::string name()
static std::string name()
Name traits for number types.
std::complex< Real > Cmplx
Type for a complex number. It also depends on the setting of Real.
Taking for a complex type the appropiate real type and for a real type itself.
unsigned short ushort
Abbreviation for unsigned short.
signed int sint
Abbreviation for signed int.
static std::string name()
Taking for a real type the appropiate real type and for a real type itself.
double Real
Type normally used for a floating point number.
Basic namespace for Concepts-2.