mirror of
https://github.com/zeldaret/oot
synced 2026-08-09 02:47:52 -04:00
fixes
This commit is contained in:
@@ -70,7 +70,7 @@ f64 __floatundidf(u32 c) {
|
||||
f32 __powisf2(f32 a, s32 b) {
|
||||
const s32 recip = b < 0;
|
||||
f32 r = 1;
|
||||
|
||||
|
||||
while (1) {
|
||||
if (b & 1) {
|
||||
r *= a;
|
||||
@@ -85,4 +85,4 @@ f32 __powisf2(f32 a, s32 b) {
|
||||
a *= a;
|
||||
}
|
||||
return recip ? 1/r : r;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user