matlab_23550/Inu/Src/N12_Libs/math_pi.h

36 lines
949 B
C

/*
* math_pi.h
*
* Created on: 6 íîÿá. 2020 ã.
* Author: stud
*/
#ifndef SRC_LIBS_NIO12_MATH_PI_H_
#define SRC_LIBS_NIO12_MATH_PI_H_
#define CONST_SQRT3 29058990 //1.7320508075688772935274463415059 = sqrt(3)
#define CONST_SQRT3_2 14529495 //1.7320508075688772935274463415059/2=0.8660254 = sqrt(3)/2
#define CONST_IQ_1 16777216 //1
#define CONST_IQ_05 8388608 //0.5
#define CONST_IQ_2 33554432 //2
#define CONST_IQ_PI6 8784530 //30
#define CONST_IQ_PI3 17569060 // 60
#define CONST_IQ_PI05 26353589 // 90
#define CONST_IQ_PI 52707178 // 180
//#define CONST_IQ_OUR1 35664138 //
#define CONST_IQ_2PI 105414357 // 360
#define CONST_IQ_120G 35138119 // 120 grad
#define CONST_IQ_3 50331648 // 3
//#define IQ_ALFA_SATURATION1 15099494//16441671//15099494
//#define IQ_ALFA_SATURATION2 1677721//16441671//15099494
#define PI 3.1415926535897932384626433832795
#endif /* SRC_LIBS_NIO12_MATH_PI_H_ */