aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stdio-common/tst-printf-format-skeleton-double.c2
-rw-r--r--stdio-common/tst-printf-format-skeleton-ldouble.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/stdio-common/tst-printf-format-skeleton-double.c b/stdio-common/tst-printf-format-skeleton-double.c
index 03ac594..19d75bb 100644
--- a/stdio-common/tst-printf-format-skeleton-double.c
+++ b/stdio-common/tst-printf-format-skeleton-double.c
@@ -26,7 +26,7 @@
#define PREC DBL_MANT_DIG
typedef double type_t;
static const type_t vals[] =
- { -HUGE_VAL, -DBL_MAX, -DBL_MIN, copysign (0, -1), -NAN, NAN, 0, DBL_MIN,
+ { -HUGE_VAL, -DBL_MAX, -DBL_MIN, -0.0, -NAN, NAN, 0, DBL_MIN,
DBL_MAX, HUGE_VAL };
static const char length[] = "";
diff --git a/stdio-common/tst-printf-format-skeleton-ldouble.c b/stdio-common/tst-printf-format-skeleton-ldouble.c
index ed47e77..cb58f1a 100644
--- a/stdio-common/tst-printf-format-skeleton-ldouble.c
+++ b/stdio-common/tst-printf-format-skeleton-ldouble.c
@@ -27,7 +27,7 @@
#define PREC LDBL_MANT_DIG
typedef long double type_t;
static const type_t vals[] =
- { -HUGE_VAL, -LDBL_MAX, -LDBL_MIN, copysign (0, -1), -NAN, NAN, 0, LDBL_MIN,
+ { -HUGE_VAL, -LDBL_MAX, -LDBL_MIN, -0.0, -NAN, NAN, 0, LDBL_MIN,
LDBL_MAX, HUGE_VAL };
static const char length[] = "L";