From e604eb6f1fa72d0d8c68dfbb6126b6a252c8aae0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Fri, 24 Apr 2026 14:37:53 +0300 Subject: [PATCH] test: crt-test: Remove a comment which no longer is accurate Since 9be66e9d22257ab008e1da58d2af3c3b9e0cacec, the F() macro no longer uses strtod(), so the details about what strtod("NAN") and strtod("-NAN") returns are no longer relevant. --- test/crt-test.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/crt-test.c b/test/crt-test.c index ab9f9d3..d821085 100644 --- a/test/crt-test.c +++ b/test/crt-test.c @@ -115,10 +115,6 @@ const char *context = ""; #define NAN_MATCHING_SIGNS(a, b) (1) #endif -// Use TEST_FLT_NAN with F(NAN) or -F(NAN) as the expect parameter. -// On Glibc, F(-NAN), i.e. strtod("-NAN", NULL), returns a positive NAN. -// On MSVC, the NAN literal is negative, but strtod("NAN", NULL) returns a -// positive one. #define TEST_FLT_NAN(x, expect) do { \ tests++; \ long double val = (x); \