Add fmod to math.h

This commit is contained in:
Henrique Gemignani Passos Lima 2022-10-03 16:24:59 +03:00
parent 80843df748
commit 01792db891
No known key found for this signature in database
GPG Key ID: E224F951761145F8
3 changed files with 2 additions and 15 deletions

View File

@ -1,14 +0,0 @@
#ifndef __W_FMOD_H__
#define __W_FMOD_H__
#ifndef __cplusplus
extern "C" {
#endif
float fmod(float, float);
#ifndef __cplusplus
}
#endif
#endif // __W_FMOD_H__

View File

@ -67,6 +67,7 @@ extern _INT32 __extended_huge[];
#define HUGE_VALL (*(long double*)__extended_huge)
double fabs(double x);
double fmod(double x, double m);
double sin(double x);
double cos(double x);
double atan(double x);

View File

@ -26,7 +26,7 @@
#include "Kyoto/Math/CVector2i.hpp"
#include "Kyoto/Math/CloseEnough.hpp"
#include "Runtime/w_fmod.h"
#include "math.h"
#include "rstl/math.hpp"
namespace rstl {