2016-06-26 15:28:34 +02:00
|
|
|
/* These constants are defined by RTDS in the component header file */
|
|
|
|
|
2017-05-05 19:24:16 +00:00
|
|
|
#define PI 3.1415926535897932384626433832795 // definition of PI
|
|
|
|
#define TWOPI 6.283185307179586476925286766559 // definition of 2.0*PI
|
|
|
|
#define E 2.71828182845904523536028747135266 // definition of E
|
|
|
|
#define EINV 0.36787944117144232159552377016147 // definition of E Inverse (1/E)
|
|
|
|
#define RT2 1.4142135623730950488016887242097 // definition of square root 2.0
|
|
|
|
#define RT3 1.7320508075688772935274463415059 // definition of square root 3.0
|
2016-06-26 15:28:34 +02:00
|
|
|
#define INV_ROOT2 0.70710678118654752440084436210485
|