Skip to content

Commit

Permalink
Corrected fastroot (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
CorvusPrudens committed Sep 14, 2023
1 parent a8e0e48 commit f53f7d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Utility/dsp.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ inline float fastroot(float f, int n)
lp = (long *)(&f);
l = *lp;
l -= 0x3F800000;
l >>= (n = 1);
l >>= (n - 1);
l += 0x3F800000;
*lp = l;
return f;
Expand Down

0 comments on commit f53f7d4

Please sign in to comment.