You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two instance of the "^ operator" in the recalculateCoefficients() function. I think they are being used on floating point values. It's more common to use bitwise operations on Integers. Maybe the "^" were meant to be "Math.pow" instead?
The text was updated successfully, but these errors were encountered:
@Taureon it is indeed the bitwas XOR operator in JavaScript, but that's what the bug report seems to be about.
Most comments in that code use ^ as the exponent operator (it's a relatively common notation, since ^ as used as the power/exponent operator in some programming languages, and in LaTeX, for example). It's likely that this code was written with the intention to use power/exponent where ^ is used.
In those lines of code, A^2 should probably be replaced with A*A:
There are two instance of the "^ operator" in the recalculateCoefficients() function. I think they are being used on floating point values. It's more common to use bitwise operations on Integers. Maybe the "^" were meant to be "Math.pow" instead?
The text was updated successfully, but these errors were encountered: