From 1f98b52170aa54e8f6d7e669f9d7592e976a05c9 Mon Sep 17 00:00:00 2001 From: gamemasterplc Date: Sat, 22 Jun 2024 13:23:09 -0500 Subject: [PATCH] Add acosf --- include/math.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/math.h b/include/math.h index 540b5f3d..419d4d50 100644 --- a/include/math.h +++ b/include/math.h @@ -54,6 +54,7 @@ _MATH_INLINE float cosf(float x) { return (float)cos((double)x); } _MATH_INLINE float atan2f(float y, float x) { return (float)atan2((double)y, (double)x); } _MATH_INLINE float atanf(float x) { return (float)atan((double)x); } _MATH_INLINE float asinf(float x) { return (float)asin((double)x); } +_MATH_INLINE float acosf(float x) { return (float)acos((double)x); } _MATH_INLINE float fmodf(float x, float m) { return (float)fmod((double)x, (double)m); }