Add fmod to math.h

Former-commit-id: 01792db891
This commit is contained in:
Henrique Gemignani Passos Lima 2022-10-03 16:24:59 +03:00
parent 3997f75e24
commit e2ba417809
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 {