haiku/headers/compatibility/gnu/math.h
Augustin Cavalier 4639c4e898 headers: Add exp10 declarations to gnu/math.h.
These are GNU extensions so they need to be behind _GNU_SOURCE.

Fixes #16371.
2020-07-07 20:48:58 -04:00

39 lines
552 B
C

/*
* Copyright 2018-2020, 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
void sincos(double x, double *sin, double *cos);
void sincosf(float x, float *sin, float *cos);
void sincosl(long double x, long double *sin, long double *cos);
double exp10(double);
float exp10f(float);
long double exp10l(long double);
#ifdef __cplusplus
}
#endif
#endif
#endif /* _GNU_MATH_H_ */