match acos, asin, fmod, and math_ppc (#545)

This commit is contained in:
CreateSource 2025-01-21 14:50:16 -05:00 committed by GitHub
parent 8d1da93f84
commit d72f538b87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 621 additions and 8 deletions

View file

@ -0,0 +1,25 @@
extern double tan(double);
extern double sin(double);
extern double cos(double);
extern double atan2(double);
extern double acos(double);
float acosf(float arg0) {
return (float) acos(arg0);
}
float atan2f(float arg0) {
return (float) atan2(arg0);
}
float cosf(float arg0) {
return (float) cos(arg0);
}
float sinf(float arg0) {
return (float) sin(arg0);
}
float tanf(float arg0) {
return (float) tan(arg0);
}