mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
OP-1525 Updated comment.
This commit is contained in:
parent
19a7f4cd22
commit
118209e40d
@ -53,7 +53,7 @@ static float applyExpo(float value, float expo)
|
||||
// expo=100 yields value**10
|
||||
// expo=0 yields value**1
|
||||
// expo=-100 yields value**(1/10)
|
||||
// (pow(10,1/100)~=1.00695)
|
||||
// (pow(2.0/100)~=1.00695)
|
||||
if (value > 0.0f) {
|
||||
return boundf(fastPow(value, exp), 0.0f, 1.0f);
|
||||
} else if (value < -0.0f) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user