Borland C++: Fixed compiler error
This commit is contained in:
parent
38d64d0520
commit
5f9e14e242
|
@ -2476,7 +2476,7 @@ void CheckOther::checkMathFunctions()
|
||||||
}
|
}
|
||||||
// acos( x ), asin( x ) where x is defined for intervall [-1,+1], but not beyound
|
// acos( x ), asin( x ) where x is defined for intervall [-1,+1], but not beyound
|
||||||
else if (Token::Match(tok, "acos|asin ( %num% )") &&
|
else if (Token::Match(tok, "acos|asin ( %num% )") &&
|
||||||
fabs(MathLib::toDoubleNumber(tok->tokAt(2)->str())) > 1.0)
|
std::fabs(MathLib::toDoubleNumber(tok->tokAt(2)->str())) > 1.0)
|
||||||
{
|
{
|
||||||
mathfunctionCallError(tok);
|
mathfunctionCallError(tok);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue