xref: /haiku/headers/compatibility/gnu/math.h (revision f290b766707b386d72e2eaadd35cc3d999405077)
1 /*
2  * Copyright 2018 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 extern void sincos(double x, double *sin, double *cos);
20 extern void sincosf(float x, float *sin, float *cos);
21 extern void sincosl(long double x, long double *sin, long double *cos);
22 
23 #ifdef __cplusplus
24 }
25 #endif
26 
27 
28 #endif
29 
30 
31 #endif	/* _GNU_MATH_H_ */
32