I apologize, I did not make myself clear.
The first argument in pow() doesn't matter.
I just noticed that the scale() function worked fine when the number was static, but as soon as I made it variable, it didn't work.
So let me rephrase my question:
I am trying to create an exponential function. The input values I am using are from 1500 to 2000. This is the function I made:
uint16_t scale(uint16_t input) {
return (1500 / pow((pow((4 / 3), (1 / 670))), 1080)) * pow((pow((4 / 3), (1 / 670))), input);
}
Obviously, this did not work because of the limitation of pow(). I am curious, how I can get this working?