Skip to content

Commit

Permalink
use fastpow for??? stuff??
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed May 5, 2020
1 parent 1eaa504 commit 9948373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Etterna/Globals/MinaCalc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ Calc::JackLoss(const vector<float>& j, float x)
float o = 0.f;
for (size_t i = 0; i < j.size(); i++)
if (x < j[i])
o += 7.f - (7.f * pow(x / (j[i] * 0.88f), 1.7f));
o += 7.f - (7.f * fastpow(x / (j[i] * 0.88f), 1.7f));
CalcClamp(o, 0.f, 10000.f);
return o;
}
Expand Down

0 comments on commit 9948373

Please sign in to comment.