mirror of
https://github.com/zeldaret/oot
synced 2026-05-25 23:35:18 -04:00
Name fmodf (#1162)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#include "global.h"
|
||||
|
||||
f32 fmodf(f32 x, f32 y) {
|
||||
s32 quot;
|
||||
|
||||
if (y == 0.0f) {
|
||||
return 0.0f;
|
||||
}
|
||||
quot = x / y;
|
||||
|
||||
return x - (quot * y);
|
||||
}
|
||||
Reference in New Issue
Block a user