Skip to content

Commit 3d8b62e

Browse files
author
Akshay Sharma
committed
Update Warning in abs()
Updated Warning acc to arduino/Arduino#2602
1 parent ee6b95b commit 3d8b62e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Language/Functions/Math/abs.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ Because of the way the abs() function is implemented, avoid using other function
4848
----
4949
abs(a++); // avoid this - yields incorrect results
5050
51-
a++; // use this instead -
52-
abs(a); // keep other math outside the function
51+
abs(a); // use this instead -
52+
a++; // keep other math outside the function
5353
----
5454
[%hardbreaks]
5555

0 commit comments

Comments
 (0)