xref: /haiku/headers/compatibility/gnu/math.h (revision fc7456e9b1ec38c941134ed6d01c438cf289381e)
1 /*
2  * Copyright 2018-2020, Haiku, Inc. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _GNU_MATH_H_
6 #define _GNU_MATH_H_
7 
8 
9 #include_next <math.h>
10 #include <features.h>
11 
12 
13 #ifdef _DEFAULT_SOURCE
14 
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
20 
21 void sincos(double x, double *sin, double *cos);
22 void sincosf(float x, float *sin, float *cos);
23 void sincosl(long double x, long double *sin, long double *cos);
24 
25 
26 double exp10(double);
27 float exp10f(float);
28 long double exp10l(long double);
29 
30 
31 #ifdef __cplusplus
32 }
33 #endif
34 
35 
36 #endif
37 
38 
39 #endif	/* _GNU_MATH_H_ */
40