From 1bd1963ee68a085b42fc092a2c0ec9a777cece16 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Sat, 14 May 2022 09:38:01 +0200 Subject: [PATCH] tests/float: rename STEP constant --- tests/sys/float/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/sys/float/main.c b/tests/sys/float/main.c index 47a7bc4b81..8242a81a47 100644 --- a/tests/sys/float/main.c +++ b/tests/sys/float/main.c @@ -30,7 +30,7 @@ #define TEST_ITER (1000UL) #endif -#define STEP (0.1) +#define FLOAT_STEP (0.1) int main(void) { @@ -39,7 +39,7 @@ int main(void) puts("Testing floating point arithmetic...\n"); for (unsigned long i = 0; i < TEST_ITER; i++) { - x += STEP; + x += FLOAT_STEP; double z = (x - floor(x)); if (z >= 1.0) { puts("[FAILED]");