mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-16 05:59:19 +08:00
1bb22a0a0b
Declare sin/cos and M_PI in math.h.
10 lines
132 B
C
10 lines
132 B
C
#ifndef __MATH_H__
|
|
#define __MATH_H__
|
|
|
|
#define M_PI 3.141592653589793238462643
|
|
|
|
double sin(double x);
|
|
double cos(double x);
|
|
|
|
#endif
|