]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - stdlib/bug-strtod.c
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / stdlib / bug-strtod.c
index c8b56aa7e1c3006db6a63cf3a0498fb88d9f9723..6450da4c3c5fd41849864033968d88678794f71d 100644 (file)
@@ -1,6 +1,6 @@
 /* Test to strtod etc for numbers like x000...0000.000e-nn.
    This file is part of the GNU C Library.
-   Copyright (C) 2001-2016 Free Software Foundation, Inc.
+   Copyright (C) 2001-2019 Free Software Foundation, Inc.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2001.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -23,7 +23,7 @@
 
 #include "tst-strtod.h"
 
-#define TEST_STRTOD(FSUF, FTYPE, FTOSTR, FTOSTRM, LSUF, CSUF)          \
+#define TEST_STRTOD(FSUF, FTYPE, FTOSTR, LSUF, CSUF)                   \
 static int                                                             \
 test_strto ## FSUF (void)                                              \
 {                                                                      \
@@ -45,8 +45,8 @@ test_strto ## FSUF (void)                                             \
        {                                                               \
          char fstr[FSTRLENMAX];                                        \
          char fcntstr[FSTRLENMAX];                                     \
-         FTOSTR (fstr, sizeof (fstr), "%" FTOSTRM "g", f);             \
-         FTOSTR (fcntstr, sizeof (fstr), "%" FTOSTRM "g", (FTYPE) cnt); \
+         FTOSTR (fstr, sizeof (fstr), "%g", f);                        \
+         FTOSTR (fcntstr, sizeof (fstr), "%g", (FTYPE) cnt);           \
          printf ("strto" #FSUF "(\"%s\") "                             \
                  "failed for cnt == %d (%s instead of %s)\n",          \
                  buf, cnt, fstr, fcntstr);                             \