🔨 excluded code from coverage

parent 1483d39c
...@@ -481,11 +481,13 @@ For n == 0, returns 1 and sets pow10 := 1. ...@@ -481,11 +481,13 @@ For n == 0, returns 1 and sets pow10 := 1.
*/ */
inline int find_largest_pow10(const uint32_t n, uint32_t& pow10) inline int find_largest_pow10(const uint32_t n, uint32_t& pow10)
{ {
// LCOV_EXCL_START
if (n >= 1000000000) if (n >= 1000000000)
{ {
pow10 = 1000000000; pow10 = 1000000000;
return 10; return 10;
} }
// LCOV_EXCL_STOP
else if (n >= 100000000) else if (n >= 100000000)
{ {
pow10 = 100000000; pow10 = 100000000;
......
...@@ -7578,11 +7578,13 @@ For n == 0, returns 1 and sets pow10 := 1. ...@@ -7578,11 +7578,13 @@ For n == 0, returns 1 and sets pow10 := 1.
*/ */
inline int find_largest_pow10(const uint32_t n, uint32_t& pow10) inline int find_largest_pow10(const uint32_t n, uint32_t& pow10)
{ {
// LCOV_EXCL_START
if (n >= 1000000000) if (n >= 1000000000)
{ {
pow10 = 1000000000; pow10 = 1000000000;
return 10; return 10;
} }
// LCOV_EXCL_STOP
else if (n >= 100000000) else if (n >= 100000000)
{ {
pow10 = 100000000; pow10 = 100000000;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment