mirror of
https://github.com/mstorsjo/llvm-mingw
synced 2026-06-21 14:01:00 +00:00
test: crt-test: Remove a comment which no longer is accurate
Since 9be66e9d22, the F() macro
no longer uses strtod(), so the details about what strtod("NAN")
and strtod("-NAN") returns are no longer relevant.
This commit is contained in:
@@ -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); \
|
||||
|
||||
Reference in New Issue
Block a user