summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-12-22 09:49:02 +0100
committerDaniel Stenberg <daniel@haxx.se>2016-12-22 09:49:02 +0100
commitfab16de6e5349908e22b9b29810513939bac183a (patch)
tree2f08c7953e715e477f328eb1a253ff664ff50225
parent5c823f51dbbd15193350ae9efa94175abee92894 (diff)
downloadcurl-fab16de6e5349908e22b9b29810513939bac183a.tar.gz
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
-rw-r--r--tests/libtest/lib557.c2
1 files changed, 1 insertions, 1 deletions
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)
{