Files
2024-09-14 16:49:49 -04:00

51 lines
772 B
C

#ifndef MSL_MATH_DOUBLE_H
#define MSL_MATH_DOUBLE_H
#include <types.h>
#include <internal/fdlibm_public.h>
#ifdef __cplusplus
extern "C" {
#endif
inline float acosf(float x) {
return acos(x);
}
inline float ceilf(float x) {
return ceil(x);
}
inline float cosf(float x) {
return cos(x);
}
inline float sinf(float x) {
return sin(x);
}
inline float sqrtf(float x) {
return sqrt(x);
}
inline float tanf(float x) {
return tan(x);
}
inline float floorf(float x) {
return floor(x);
}
inline float fmodf(float x, float y) {
return fmod(x, y);
}
inline float modff(float x, float* iptr) {
float frac;
double intg;
frac = modf(x, &intg);
*iptr = intg;
return frac;
}
float fabsf(float);
#ifdef __cplusplus
}
#endif
#endif