ISF
2.2 rev 5
Intelligent Sensing Framework for Kinetis with Processor Expert
Main Page
Modules
Data Structures
Files
File List
Globals
math_constants.h
Go to the documentation of this file.
1
/*
2
*
3
* Copyright (c) 2015, Freescale Semiconductor, Inc.
4
*
5
*/
6
/*
7
* math_constants.h
8
*
9
* Created on: Nov 26, 2013,
10
* Author: B37804
11
*/
12
13
#ifndef MATH_CONSTANTS_H_
14
#define MATH_CONSTANTS_H_
15
16
// useful multiplicative conversion constants
17
#define PI 3.141592654F // Pi
18
#define FDEGTORAD 0.01745329251994F // degrees to radians conversion = pi / 180
19
#define FRADTODEG 57.2957795130823F // radians to degrees conversion = 180 / pi
20
21
22
#endif
/* MATH_CONSTANTS_H_ */
© Freescale Semiconductor, Inc. 2016. All Rights Reserved.