提交 9c82fac3 编写于 作者: J John Lindgren

Update incorrect comment.

上级 cf5b2d25
...@@ -346,7 +346,7 @@ void UnityPrintNumberByStyle(const UNITY_INT number, const UNITY_DISPLAY_STYLE_T ...@@ -346,7 +346,7 @@ void UnityPrintNumberByStyle(const UNITY_INT number, const UNITY_DISPLAY_STYLE_T
{ {
UnityPrintNumberUnsigned((UNITY_UINT)number); UnityPrintNumberUnsigned((UNITY_UINT)number);
} }
else else
{ {
UNITY_OUTPUT_CHAR('0'); UNITY_OUTPUT_CHAR('0');
UNITY_OUTPUT_CHAR('x'); UNITY_OUTPUT_CHAR('x');
...@@ -464,7 +464,7 @@ void UnityPrintFloat(const UNITY_DOUBLE input_number) ...@@ -464,7 +464,7 @@ void UnityPrintFloat(const UNITY_DOUBLE input_number)
UNITY_DOUBLE number = input_number; UNITY_DOUBLE number = input_number;
/* print minus sign (including for negative zero) */ /* print minus sign (does not handle negative zero) */
if (number < 0.0f) if (number < 0.0f)
{ {
UNITY_OUTPUT_CHAR('-'); UNITY_OUTPUT_CHAR('-');
...@@ -472,7 +472,7 @@ void UnityPrintFloat(const UNITY_DOUBLE input_number) ...@@ -472,7 +472,7 @@ void UnityPrintFloat(const UNITY_DOUBLE input_number)
} }
/* handle zero, NaN, and +/- infinity */ /* handle zero, NaN, and +/- infinity */
if (number == 0.0f) if (number == 0.0f)
{ {
UnityPrint("0"); UnityPrint("0");
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册