From ea8a155c17cdec9b4fc546a45154f37e28428091 Mon Sep 17 00:00:00 2001 From: Robin Leroy Date: Tue, 31 Dec 2024 05:09:20 +0100 Subject: [PATCH] unnest --- numerics/sin_cos.cpp | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/numerics/sin_cos.cpp b/numerics/sin_cos.cpp index 5b6fc48269..97f20e22b0 100644 --- a/numerics/sin_cos.cpp +++ b/numerics/sin_cos.cpp @@ -77,15 +77,13 @@ } } // To analyse it near x = 5: -#define UNDER_OSACA_HYPOTHESES(statement) \ - do { \ - { \ - constexpr double x = 5; \ - /* To avoid inconsistent definitions, constexpr code can be used as */ \ - /* needed. */ \ - constexpr double abs_x = x > 0 ? x : -x; \ - statement; \ - } \ +#define UNDER_OSACA_HYPOTHESES(statement) \ + do { \ + constexpr double x = 5; \ + /* To avoid inconsistent definitions, constexpr code can be used as */ \ + /* needed. */ \ + constexpr double abs_x = x > 0 ? x : -x; \ + statement; \ } while (false) #endif