summaryrefslogtreecommitdiff
path: root/src/boot/O2/fmodf.c
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2023-11-27 23:01:14 -0300
committerGitHub <noreply@github.com>2023-11-28 13:01:14 +1100
commit7649cd309af155de1b8ee8bfd32d850e46f27925 (patch)
tree8c66e552901046c002e951691fb063bf5be2b00f /src/boot/O2/fmodf.c
parent2fdcdd91b332d234a823e43607978e010152b811 (diff)
Organize `libc` and `libm` files (#1499)
* memmove * strcpy * strcmp * memset * fmodf * fix some missing includes * Remove libc header dependencies on libultra * fix * review
Diffstat (limited to 'src/boot/O2/fmodf.c')
-rw-r--r--src/boot/O2/fmodf.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/boot/O2/fmodf.c b/src/boot/O2/fmodf.c
deleted file mode 100644
index 2f8aa74bf..000000000
--- a/src/boot/O2/fmodf.c
+++ /dev/null
@@ -1,12 +0,0 @@
-#include "global.h"
-
-f32 fmodf(f32 dividend, f32 divisor) {
- s32 quotient;
-
- if (divisor == 0.0f) {
- return 0.0f;
- }
- quotient = dividend / divisor;
-
- return dividend - quotient * divisor;
-}