]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
lib557.c: use a shorter MAXIMIZE representation
authorDaniel Stenberg <daniel@haxx.se>
Thu, 22 Dec 2016 08:49:02 +0000 (09:49 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 22 Dec 2016 08:49:02 +0000 (09:49 +0100)
Since several compilers had problems with the previous one

Reported-by: Ray Satiro
Bug: https://curl.haxx.se/mail/lib-2016-12/0098.html

tests/libtest/lib557.c

index 0bea03cc7f88e5677a712ac9425a602bceb5d8d6..68fdfa2b1f7f1133190edc960be68a4c14fb14f4 100644 (file)
@@ -1538,7 +1538,7 @@ static int test_weird_arguments(void)
 }
 
 /* DBL_MAX value from Linux */
-#define MAXIMIZE -179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.000000
+#define MAXIMIZE -1.7976931348623157081452E+308
 
 static int test_float_formatting(void)
 {