32 lines
487 B
C
32 lines
487 B
C
|
/*
|
||
|
* Copyright 2018 Haiku, Inc. All Rights Reserved.
|
||
|
* Distributed under the terms of the MIT License.
|
||
|
*/
|
||
|
#ifndef _GNU_MATH_H_
|
||
|
#define _GNU_MATH_H_
|
||
|
|
||
|
|
||
|
#include_next <math.h>
|
||
|
|
||
|
|
||
|
#ifdef _GNU_SOURCE
|
||
|
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
extern void sincos(double x, double *sin, double *cos);
|
||
|
extern void sincosf(float x, float *sin, float *cos);
|
||
|
extern void sincosl(long double x, long double *sin, long double *cos);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
|
||
|
#endif
|
||
|
|
||
|
|
||
|
#endif /* _GNU_MATH_H_ */
|