Cppcheck 2.11 download12/31/2023 ![]() Note: Please consider reporting false positives so that they can be removed in future versions. ![]() Scala > val x = math.pow( 5, 1 / 3d) + 1 / 0 // linter:ignore // ignores all warnings Math.pow( 5, 1 / 3d) + 1 / 0 // linter:ignore UseCbrt,DivideByZero // ignores UseCbrt and DivideByZero : 8 : warning: Integer division detected in an expression assigned to a floating point variable. Scala > val x = math.pow( 5, 1 / 3d) + 1 / 0 // linter:ignore UseCbrt,DivideByZero // ignores UseCbrt and DivideByZero ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |