summaryrefslogtreecommitdiff
path: root/components/libc/compilers/minilibc/math.h
blob: 49b80d82199680573d8a7d92192af65ce6c5c511 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Copyright (c) 2006-2018, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 */
#ifndef __MATH_H__
#define __MATH_H__

#define M_PI 3.141592653589793238462643

double sin(double x);
double cos(double x);

typedef float float_t;
typedef double double_t;

#endif