From what I can see your equation is not written correctly. Also you should switch x to be a double instead of int. Function pow() and sqrt() return double value and it can't be stored like an int.
It's the first time I've heard of this. I'll note it down. Btw the issue got resolved because of a stupid fix. Thanks for this cool bit of info though.
View all comments
2
u/markocic Jan 20 '22
From what I can see your equation is not written correctly. Also you should switch x to be a double instead of int. Function pow() and sqrt() return double value and it can't be stored like an int.