From fab16de6e5349908e22b9b29810513939bac183a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 22 Dec 2016 09:49:02 +0100 Subject: 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 --- tests/libtest/lib557.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/libtest') diff --git a/tests/libtest/lib557.c b/tests/libtest/lib557.c index 0bea03cc7..68fdfa2b1 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) { -- cgit v1.2.3