2018-10-14 19:28:18 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2006-2018, RT-Thread Development Team
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
*/
|
2013-01-09 21:37:41 +08:00
|
|
|
#ifndef __MATH_H__
|
|
|
|
#define __MATH_H__
|
|
|
|
|
|
|
|
#define M_PI 3.141592653589793238462643
|
|
|
|
|
|
|
|
double sin(double x);
|
|
|
|
double cos(double x);
|
2013-01-08 22:40:58 +08:00
|
|
|
|
2019-09-07 18:06:03 +08:00
|
|
|
typedef float float_t;
|
|
|
|
typedef double double_t;
|
|
|
|
|
2013-01-08 22:40:58 +08:00
|
|
|
#endif
|