Formula: Errors
QFFE_212: "Negative square root argument : 'value'"
Square root argument value is negative.
Cause
-
Square root argument value is negative
sqrt(t+0.5) Negative square root argument : '-0.5' for t = -1 sqrt(-asin(-1)) Negative square root argument : '-270' sqrt(pi-asin(1)) Negative square root argument : '-86.8584' -
Square root argument value becomes negative due to rounding errors
sqrt(1 + t - 1 - t) Square root from the negative number : '-1e-020'
for t = 1e-20
Resolution
- Check that the value of square root argument is never negative.
- If the cause is in rounding errors, try to change the order of operations to reduce their impact.