summaryrefslogtreecommitdiff
path: root/src/code/code_801067F0.c
blob: b895ee360cf578b9493e693fff7da16063292d56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <ultra64.h>
#include <global.h>

// fmodf?
f32 func_801067F0(f32 arg0, f32 arg1) {
    s32 sp4;

    if (arg1 == 0.0f) {
        return 0.0f;
    }
    sp4 = arg0 / arg1;
    return arg0 - (sp4 * arg1);
}