Qucs-core  0.0.18
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros
Qucs Math Constants

Macros

#define M_PI   3.1415926535897932384626433832795029
 Archimedes' constant ( $\pi$) More...
 
#define M_PI_2   1.5707963267948966192313216916397514
 Half of Archimedes' constant ( $\pi/2$) More...
 
#define M_PI_4   0.7853981633974483096156608458198757
 A quarter of Archimedes' constant ( $\pi/4$) More...
 
#define M_1_PI   0.3183098861837906715377675267450287
 Inverse of Archimedes' constant ( $1/\pi$) More...
 
#define M_2_PI   0.6366197723675813430755350534900574
 
#define M_SQRTPI   1.77245385090551602729816748334
 Square root of Archimedes' constant ( $\sqrt{\pi}$) More...
 
#define M_E   2.7182818284590452353602874713526625
 Euler's constant ( $e=\sum_{n=0}^\infty \frac{1}{n!}$) More...
 
#define M_LOG10E   0.4342944819032518276511289189166051
 Decimal logartihm of Euler's constant ( $\log_{10} (e)$) More...
 
#define M_LOG2E   1.4426950408889634073599246810018922
 Binary logartihm of Euler's constant ( $\log_{2} (e)$) More...
 
#define M_LN2   0.6931471805599453094172321214581766
 Natural logarithm of 2 ( $\ln 2$) More...
 
#define M_LN10   2.3025850929940456840179914546843642
 Natural logarithm of 10 ( $\ln 10$) More...
 
#define M_SQRT2   1.4142135623730950488016887242096981
 Square root of 2 ( $\sqrt{2}$) More...
 
#define M_SQRT1_2   0.7071067811865475244008443621048490
 Inverse of Square root of 2 ( $1/\sqrt{2}$) More...
 
#define M_LIMEXP   80.0
 LIMEXP. More...
 

Detailed Description

Qucs mathematical constants.

Macro Definition Documentation

#define M_1_PI   0.3183098861837906715377675267450287

Inverse of Archimedes' constant ( $1/\pi$)

Definition at line 59 of file consts.h.

#define M_2_PI   0.6366197723675813430755350534900574

Definition at line 63 of file consts.h.

#define M_E   2.7182818284590452353602874713526625

Euler's constant ( $e=\sum_{n=0}^\infty \frac{1}{n!}$)

Definition at line 71 of file consts.h.

#define M_LIMEXP   80.0

LIMEXP.

Todo:
What is it?

Definition at line 101 of file consts.h.

#define M_LN10   2.3025850929940456840179914546843642

Natural logarithm of 10 ( $\ln 10$)

Definition at line 87 of file consts.h.

#define M_LN2   0.6931471805599453094172321214581766

Natural logarithm of 2 ( $\ln 2$)

Definition at line 83 of file consts.h.

#define M_LOG10E   0.4342944819032518276511289189166051

Decimal logartihm of Euler's constant ( $\log_{10} (e)$)

Definition at line 75 of file consts.h.

#define M_LOG2E   1.4426950408889634073599246810018922

Binary logartihm of Euler's constant ( $\log_{2} (e)$)

Definition at line 79 of file consts.h.

#define M_PI   3.1415926535897932384626433832795029

Archimedes' constant ( $\pi$)

Definition at line 47 of file consts.h.

#define M_PI_2   1.5707963267948966192313216916397514

Half of Archimedes' constant ( $\pi/2$)

Definition at line 51 of file consts.h.

#define M_PI_4   0.7853981633974483096156608458198757

A quarter of Archimedes' constant ( $\pi/4$)

Definition at line 55 of file consts.h.

#define M_SQRT1_2   0.7071067811865475244008443621048490

Inverse of Square root of 2 ( $1/\sqrt{2}$)

Definition at line 95 of file consts.h.

#define M_SQRT2   1.4142135623730950488016887242096981

Square root of 2 ( $\sqrt{2}$)

Definition at line 91 of file consts.h.

#define M_SQRTPI   1.77245385090551602729816748334

Square root of Archimedes' constant ( $\sqrt{\pi}$)

Definition at line 67 of file consts.h.