Advertisement
Zerewa

Untitled

Jun 27th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. float ratefloat = (float)rate;
  2.  
  3. double a = -1.00844494413448 * pow(10.0f, -12);
  4. double b = 1.2356986230482 * pow(10.0f, -8);
  5. double c = -5.94771172066112 * pow(10.0f, -5);
  6. double d = 0.139443656834417;
  7. double e = -156.936920229832;
  8. double f = 68836.3;
  9. return uint32(a * pow(ratefloat, 5) + b * pow(ratefloat, 4) + c * pow(ratefloat, 3) + d * pow(ratefloat, 2) + e * ratefloat + f);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement