From a33112a4c028bd7643b87e100a16d35f2327df91 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Wed, 15 May 2024 20:30:14 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Reorder=20`FLOAT=5FSQ`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Followup to 5f96dffb --- Marlin/src/core/macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/core/macros.h b/Marlin/src/core/macros.h index 90974f1c986..4f1aba23c84 100644 --- a/Marlin/src/core/macros.h +++ b/Marlin/src/core/macros.h @@ -89,7 +89,7 @@ #define HYPOT2(x,y) (sq(x)+sq(y)) #define NORMSQ(x,y,z) (sq(x)+sq(y)+sq(z)) -#define FLOAT_SQ(I) float(sq(I)) +#define FLOAT_SQ(I) sq(float(I)) #define CIRCLE_AREA(R) (float(M_PI) * FLOAT_SQ(R)) #define CIRCLE_CIRC(R) (2 * float(M_PI) * float(R))