mirror of
https://github.com/cc65/cc65.git
synced 2024-06-01 13:41:34 +00:00
10 lines
120 B
C
10 lines
120 B
C
|
|
#include <math.h>
|
|
|
|
float fmodf(float x, float y)
|
|
{
|
|
float res;
|
|
res = x / y;
|
|
return x - (truncf(res) * y);
|
|
}
|