Floating point error. Avoid floating point calculations whenever possible. Replacing Math.Pow(i, 3) with i*i*i works perfectly.
Math.Pow(i, 3)
i*i*i
I just tried the C# version and it works fine, so there's probably something wrong with your code. Could you post your code(mark it as spoiler)?
Loading collection data...
Floating point error. Avoid floating point calculations whenever possible.
Replacing
Math.Pow(i, 3)
withi*i*i
works perfectly.I just tried the C# version and it works fine, so there's probably something wrong with your code.
Could you post your code(mark it as spoiler)?