From d647529fec1a9f6d28f07a2a85cae345aacb2dd6 Mon Sep 17 00:00:00 2001 From: Sven van Haastregt Date: Tue, 16 Aug 2022 14:42:33 +0100 Subject: [PATCH] [NFC] Fix missing `double_double.lo` initializer (#1466) Fixes a missing-field-initializers warning. The original intent was most likely to initialize both fields (similar to other functions in this file), but a `,` was missed. Signed-off-by: Sven van Haastregt --- test_conformance/math_brute_force/reference_math.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_conformance/math_brute_force/reference_math.cpp b/test_conformance/math_brute_force/reference_math.cpp index 16db3d67..a0a3d65d 100644 --- a/test_conformance/math_brute_force/reference_math.cpp +++ b/test_conformance/math_brute_force/reference_math.cpp @@ -2321,7 +2321,7 @@ static inline double_double accum_d(double_double a, double b) static inline double_double add_dd(double_double a, double_double b) { - double_double r = { -0.0 - 0.0 }; + double_double r = { -0.0, -0.0 }; if (isinf(a.hi) || isinf(b.hi) || isnan(a.hi) || isnan(b.hi) || 0.0 == a.hi || 0.0 == b.hi)