xref: /haiku/headers/compatibility/gnu/math.h (revision 1a76488fc88584bf66b9751d7fb9b6527ac20d87)
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 
11 
12 #ifdef _GNU_SOURCE
13 
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 
20 void sincos(double x, double *sin, double *cos);
21 void sincosf(float x, float *sin, float *cos);
22 void sincosl(long double x, long double *sin, long double *cos);
23 
24 
25 double exp10(double);
26 float exp10f(float);
27 long double exp10l(long double);
28 
29 
30 #ifdef __cplusplus
31 }
32 #endif
33 
34 
35 #endif
36 
37 
38 #endif	/* _GNU_MATH_H_ */
39