My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros
consts.h File Reference
#include <math.h>
Include dependency graph for consts.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

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

Macro Definition Documentation

#define M_1_PI   0.3183098861837906715377675267450287

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

Definition at line 48 of file consts.h.

#define M_2_PI   0.6366197723675813430755350534900574

Definition at line 52 of file consts.h.

#define M_E   2.7182818284590452353602874713526625

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

Definition at line 60 of file consts.h.

#define M_LIMEXP   80.0

LIMEXP.

Todo:
What is it?

Definition at line 90 of file consts.h.

#define M_LN10   2.3025850929940456840179914546843642

Natural logarithm of 10 ( $\ln 10$)

Definition at line 76 of file consts.h.

#define M_LN2   0.6931471805599453094172321214581766

Natural logarithm of 2 ( $\ln 2$)

Definition at line 72 of file consts.h.

#define M_LOG10E   0.4342944819032518276511289189166051

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

Definition at line 64 of file consts.h.

#define M_LOG2E   1.4426950408889634073599246810018922

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

Definition at line 68 of file consts.h.

#define M_PI   3.1415926535897932384626433832795029

Archimedes' constant ( $\pi$)

Definition at line 36 of file consts.h.

#define M_PI_2   1.5707963267948966192313216916397514

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

Definition at line 40 of file consts.h.

#define M_PI_4   0.7853981633974483096156608458198757

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

Definition at line 44 of file consts.h.

#define M_SQRT1_2   0.7071067811865475244008443621048490

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

Definition at line 84 of file consts.h.

#define M_SQRT2   1.4142135623730950488016887242096981

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

Definition at line 80 of file consts.h.

#define M_SQRTPI   1.77245385090551602729816748334

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

Definition at line 56 of file consts.h.