summaryrefslogtreecommitdiff
path: root/mm/src/boot/O2/fmodf.c
blob: b83b635f365268315b01d0a86b4d726832af25e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "global.h"
#if 0
f32 fmodf(f32 dividend, f32 divisor) {
    s32 quotient;

    if (divisor == 0.0f) {
        return 0.0f;
    }
    quotient = dividend / divisor;

    return dividend - quotient * divisor;
}
#endif