From: Daniel Stenberg Date: Thu, 22 Dec 2016 08:49:02 +0000 (+0100) Subject: lib557.c: use a shorter MAXIMIZE representation X-Git-Tag: curl-7_52_1~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fab16de6e5349908e22b9b29810513939bac183a;p=thirdparty%2Fcurl.git lib557.c: use a shorter MAXIMIZE representation Since several compilers had problems with the previous one Reported-by: Ray Satiro Bug: https://curl.haxx.se/mail/lib-2016-12/0098.html --- diff --git a/tests/libtest/lib557.c b/tests/libtest/lib557.c index 0bea03cc7f..68fdfa2b1f 100644 --- a/tests/libtest/lib557.c +++ b/tests/libtest/lib557.c @@ -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) {