+2023-10-27 Bruno Haible <bruno@clisp.org>
+
+ tests: Use C99 initializer syntax for memory_long_double.
+ * tests/test-isfinite.c (test_isfinitel): Use '.word = ...' syntax when
+ initializing memory_long_double variables.
+ * tests/test-isinf.c (test_isinfl): Likewise.
+ * tests/test-isnan.c (test_long_double): Likewise.
+ * tests/test-snprintf-posix.h (test_function): Likewise.
+ * tests/test-sprintf-posix.h (test_function): Likewise.
+ * tests/test-vasnprintf-posix.c (test_function): Likewise.
+ * tests/test-vasnwprintf-posix.c (test_function): Likewise.
+ * tests/test-vasprintf-posix.c (test_function): Likewise.
+ * modules/isfinite-tests (Depends-on): Add c99.
+ * modules/isinf-tests (Depends-on): Likewise.
+ * modules/isnan-tests (Depends-on): Likewise.
+ * modules/isnanl-nolibm-tests (Depends-on): Likewise.
+ * modules/isnanl-tests (Depends-on): Likewise.
+ * modules/pipe-filter-gi-tests (Depends-on): Likewise.
+ * modules/pipe-filter-ii-tests (Depends-on): Likewise.
+ * modules/snprintf-posix-tests (Depends-on): Likewise.
+ * modules/sprintf-posix-tests (Depends-on): Likewise.
+ * modules/vasnprintf-posix-tests (Depends-on): Likewise.
+ * modules/vasnwprintf-posix-tests (Depends-on): Likewise.
+ * modules/vasprintf-posix-tests (Depends-on): Likewise.
+ * modules/vsnprintf-posix-tests (Depends-on): Likewise.
+ * modules/vsprintf-posix-tests (Depends-on): Likewise.
+
2023-10-26 Pádraig Brady <P@draigBrady.com>
base32, base64: disallow non-canonical encodings
tests/macros.h
Depends-on:
+c99
float
nan
snan
tests/macros.h
Depends-on:
+c99
float
nan
snan
tests/macros.h
Depends-on:
+c99
float
nan
snan
tests/macros.h
Depends-on:
+c99
float
nan
snan
tests/macros.h
Depends-on:
+c99
float
nan
snan
tests/macros.h
Depends-on:
+c99
binary-io
c-ctype
snan
tests/macros.h
Depends-on:
+c99
binary-io
c-ctype
snan
tests/macros.h
Depends-on:
+c99
stdint
float
nan
tests/macros.h
Depends-on:
+c99
stdint
float
nan
m4/codeset.m4
Depends-on:
+c99
stdint
float
nan
m4/codeset.m4
Depends-on:
+c99
stdint
float
nan
tests/macros.h
Depends-on:
+c99
stdint
float
nan
tests/macros.h
Depends-on:
+c99
stdint
float
nan
tests/macros.h
Depends-on:
+c99
stdint
float
nan
# endif
{ /* Quiet NaN. */
static memory_long_double x =
- { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
ASSERT (!isfinite (x.value));
}
{
/* Signalling NaN. */
static memory_long_double x =
- { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
ASSERT (!isfinite (x.value));
}
/* isfinite should return something for noncanonical values. */
{ /* Pseudo-NaN. */
static memory_long_double x =
- { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
ASSERT (isfinite (x.value) || !isfinite (x.value));
}
{ /* Pseudo-Infinity. */
static memory_long_double x =
- { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
ASSERT (isfinite (x.value) || !isfinite (x.value));
}
{ /* Pseudo-Zero. */
static memory_long_double x =
- { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
ASSERT (isfinite (x.value) || !isfinite (x.value));
}
{ /* Unnormalized number. */
static memory_long_double x =
- { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
ASSERT (isfinite (x.value) || !isfinite (x.value));
}
{ /* Pseudo-Denormal. */
static memory_long_double x =
- { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
ASSERT (isfinite (x.value) || !isfinite (x.value));
}
#undef NWORDS
# endif
{ /* Quiet NaN. */
static memory_long_double x =
- { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
ASSERT (!isinf (x.value));
}
{
/* Signalling NaN. */
static memory_long_double x =
- { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
ASSERT (!isinf (x.value));
}
/* isinf should return something for noncanonical values. */
{ /* Pseudo-NaN. */
static memory_long_double x =
- { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
ASSERT (isinf (x.value) || !isinf (x.value));
}
{ /* Pseudo-Infinity. */
static memory_long_double x =
- { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
ASSERT (isinf (x.value) || !isinf (x.value));
}
{ /* Pseudo-Zero. */
static memory_long_double x =
- { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
ASSERT (isinf (x.value) || !isinf (x.value));
}
{ /* Unnormalized number. */
static memory_long_double x =
- { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
ASSERT (isinf (x.value) || !isinf (x.value));
}
{ /* Pseudo-Denormal. */
static memory_long_double x =
- { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
ASSERT (isinf (x.value) || !isinf (x.value));
}
#undef NWORDS
# endif
{ /* Quiet NaN. */
static memory_long_double x =
- { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
ASSERT (isnan (x.value));
}
{
/* Signalling NaN. */
static memory_long_double x =
- { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
ASSERT (isnan (x.value));
}
/* isnan should return something for noncanonical values. */
{ /* Pseudo-NaN. */
static memory_long_double x =
- { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
ASSERT (isnan (x.value) || !isnan (x.value));
}
{ /* Pseudo-Infinity. */
static memory_long_double x =
- { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
ASSERT (isnan (x.value) || !isnan (x.value));
}
{ /* Pseudo-Zero. */
static memory_long_double x =
- { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
ASSERT (isnan (x.value) || !isnan (x.value));
}
{ /* Unnormalized number. */
static memory_long_double x =
- { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
ASSERT (isnan (x.value) || !isnan (x.value));
}
{ /* Pseudo-Denormal. */
static memory_long_double x =
- { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
ASSERT (isnan (x.value) || !isnan (x.value));
}
#undef NWORDS
#if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
{ /* Quiet NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
int retval =
my_snprintf (result, sizeof (result), "%La %d", x.value, 33, 44, 55);
ASSERT (strlen (result) >= 3 + 3
{
/* Signalling NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
int retval =
my_snprintf (result, sizeof (result), "%La %d", x.value, 33, 44, 55);
ASSERT (strlen (result) >= 3 + 3
/* snprintf should print something for noncanonical values. */
{ /* Pseudo-NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
int retval =
my_snprintf (result, sizeof (result), "%La %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Pseudo-Infinity. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
int retval =
my_snprintf (result, sizeof (result), "%La %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Pseudo-Zero. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
int retval =
my_snprintf (result, sizeof (result), "%La %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Unnormalized number. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
int retval =
my_snprintf (result, sizeof (result), "%La %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Pseudo-Denormal. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
int retval =
my_snprintf (result, sizeof (result), "%La %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
#if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
{ /* Quiet NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
int retval =
my_snprintf (result, sizeof (result), "%Lf %d", x.value, 33, 44, 55);
ASSERT (strlen (result) >= 3 + 3
{
/* Signalling NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
int retval =
my_snprintf (result, sizeof (result), "%Lf %d", x.value, 33, 44, 55);
ASSERT (strlen (result) >= 3 + 3
/* snprintf should print something for noncanonical values. */
{ /* Pseudo-NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
int retval =
my_snprintf (result, sizeof (result), "%Lf %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Pseudo-Infinity. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
int retval =
my_snprintf (result, sizeof (result), "%Lf %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Pseudo-Zero. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
int retval =
my_snprintf (result, sizeof (result), "%Lf %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Unnormalized number. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
int retval =
my_snprintf (result, sizeof (result), "%Lf %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Pseudo-Denormal. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
int retval =
my_snprintf (result, sizeof (result), "%Lf %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
#if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
{ /* Quiet NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
int retval =
my_snprintf (result, sizeof (result), "%Le %d", x.value, 33, 44, 55);
ASSERT (strlen (result) >= 3 + 3
{
/* Signalling NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
int retval =
my_snprintf (result, sizeof (result), "%Le %d", x.value, 33, 44, 55);
ASSERT (strlen (result) >= 3 + 3
/* snprintf should print something for noncanonical values. */
{ /* Pseudo-NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
int retval =
my_snprintf (result, sizeof (result), "%Le %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Pseudo-Infinity. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
int retval =
my_snprintf (result, sizeof (result), "%Le %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Pseudo-Zero. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
int retval =
my_snprintf (result, sizeof (result), "%Le %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Unnormalized number. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
int retval =
my_snprintf (result, sizeof (result), "%Le %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Pseudo-Denormal. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
int retval =
my_snprintf (result, sizeof (result), "%Le %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
#if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
{ /* Quiet NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
int retval =
my_snprintf (result, sizeof (result), "%Lg %d", x.value, 33, 44, 55);
ASSERT (strlen (result) >= 3 + 3
{
/* Signalling NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
int retval =
my_snprintf (result, sizeof (result), "%Lg %d", x.value, 33, 44, 55);
ASSERT (strlen (result) >= 3 + 3
/* snprintf should print something for noncanonical values. */
{ /* Pseudo-NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
int retval =
my_snprintf (result, sizeof (result), "%Lg %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Pseudo-Infinity. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
int retval =
my_snprintf (result, sizeof (result), "%Lg %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Pseudo-Zero. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
int retval =
my_snprintf (result, sizeof (result), "%Lg %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Unnormalized number. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
int retval =
my_snprintf (result, sizeof (result), "%Lg %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Pseudo-Denormal. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
int retval =
my_snprintf (result, sizeof (result), "%Lg %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
#if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
{ /* Quiet NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
int retval =
my_sprintf (result, "%La %d", x.value, 33, 44, 55);
ASSERT (strlen (result) >= 3 + 3
{
/* Signalling NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
int retval =
my_sprintf (result, "%La %d", x.value, 33, 44, 55);
ASSERT (strlen (result) >= 3 + 3
/* sprintf should print something for noncanonical values. */
{ /* Pseudo-NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
int retval =
my_sprintf (result, "%La %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Pseudo-Infinity. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
int retval =
my_sprintf (result, "%La %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Pseudo-Zero. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
int retval =
my_sprintf (result, "%La %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Unnormalized number. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
int retval =
my_sprintf (result, "%La %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Pseudo-Denormal. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
int retval =
my_sprintf (result, "%La %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
#if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
{ /* Quiet NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
int retval =
my_sprintf (result, "%Lf %d", x.value, 33, 44, 55);
ASSERT (strlen (result) >= 3 + 3
{
/* Signalling NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
int retval =
my_sprintf (result, "%Lf %d", x.value, 33, 44, 55);
ASSERT (strlen (result) >= 3 + 3
/* sprintf should print something for noncanonical values. */
{ /* Pseudo-NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
int retval =
my_sprintf (result, "%Lf %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Pseudo-Infinity. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
int retval =
my_sprintf (result, "%Lf %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Pseudo-Zero. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
int retval =
my_sprintf (result, "%Lf %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Unnormalized number. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
int retval =
my_sprintf (result, "%Lf %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Pseudo-Denormal. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
int retval =
my_sprintf (result, "%Lf %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
#if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
{ /* Quiet NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
int retval =
my_sprintf (result, "%Le %d", x.value, 33, 44, 55);
ASSERT (strlen (result) >= 3 + 3
{
/* Signalling NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
int retval =
my_sprintf (result, "%Le %d", x.value, 33, 44, 55);
ASSERT (strlen (result) >= 3 + 3
/* sprintf should print something for noncanonical values. */
{ /* Pseudo-NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
int retval =
my_sprintf (result, "%Le %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Pseudo-Infinity. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
int retval =
my_sprintf (result, "%Le %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Pseudo-Zero. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
int retval =
my_sprintf (result, "%Le %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Unnormalized number. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
int retval =
my_sprintf (result, "%Le %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Pseudo-Denormal. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
int retval =
my_sprintf (result, "%Le %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
#if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
{ /* Quiet NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
int retval =
my_sprintf (result, "%La %d", x.value, 33, 44, 55);
ASSERT (strlen (result) >= 3 + 3
{
/* Signalling NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
int retval =
my_sprintf (result, "%La %d", x.value, 33, 44, 55);
ASSERT (strlen (result) >= 3 + 3
/* sprintf should print something for noncanonical values. */
{ /* Pseudo-NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
int retval =
my_sprintf (result, "%Lg %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Pseudo-Infinity. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
int retval =
my_sprintf (result, "%Lg %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Pseudo-Zero. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
int retval =
my_sprintf (result, "%Lg %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Unnormalized number. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
int retval =
my_sprintf (result, "%Lg %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
}
{ /* Pseudo-Denormal. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
int retval =
my_sprintf (result, "%Lg %d", x.value, 33, 44, 55);
ASSERT (retval == strlen (result));
#if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
{ /* Quiet NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
size_t length;
char *result =
my_asnprintf (NULL, &length, "%La %d", x.value, 33, 44, 55);
{
/* Signalling NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
size_t length;
char *result =
my_asnprintf (NULL, &length, "%La %d", x.value, 33, 44, 55);
/* asnprintf should print something for noncanonical values. */
{ /* Pseudo-NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
size_t length;
char *result =
my_asnprintf (NULL, &length, "%La %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Infinity. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
size_t length;
char *result =
my_asnprintf (NULL, &length, "%La %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Zero. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
size_t length;
char *result =
my_asnprintf (NULL, &length, "%La %d", x.value, 33, 44, 55);
}
{ /* Unnormalized number. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
size_t length;
char *result =
my_asnprintf (NULL, &length, "%La %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Denormal. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
size_t length;
char *result =
my_asnprintf (NULL, &length, "%La %d", x.value, 33, 44, 55);
#if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
{ /* Quiet NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
size_t length;
char *result =
my_asnprintf (NULL, &length, "%Lf %d", x.value, 33, 44, 55);
{
/* Signalling NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
size_t length;
char *result =
my_asnprintf (NULL, &length, "%Lf %d", x.value, 33, 44, 55);
/* asnprintf should print something for noncanonical values. */
{ /* Pseudo-NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
size_t length;
char *result =
my_asnprintf (NULL, &length, "%Lf %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Infinity. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
size_t length;
char *result =
my_asnprintf (NULL, &length, "%Lf %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Zero. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
size_t length;
char *result =
my_asnprintf (NULL, &length, "%Lf %d", x.value, 33, 44, 55);
}
{ /* Unnormalized number. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
size_t length;
char *result =
my_asnprintf (NULL, &length, "%Lf %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Denormal. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
size_t length;
char *result =
my_asnprintf (NULL, &length, "%Lf %d", x.value, 33, 44, 55);
#if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
{ /* Quiet NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
size_t length;
char *result =
my_asnprintf (NULL, &length, "%Le %d", x.value, 33, 44, 55);
{
/* Signalling NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
size_t length;
char *result =
my_asnprintf (NULL, &length, "%Le %d", x.value, 33, 44, 55);
/* asnprintf should print something even for noncanonical values. */
{ /* Pseudo-NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
size_t length;
char *result =
my_asnprintf (NULL, &length, "%Le %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Infinity. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
size_t length;
char *result =
my_asnprintf (NULL, &length, "%Le %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Zero. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
size_t length;
char *result =
my_asnprintf (NULL, &length, "%Le %d", x.value, 33, 44, 55);
}
{ /* Unnormalized number. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
size_t length;
char *result =
my_asnprintf (NULL, &length, "%Le %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Denormal. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
size_t length;
char *result =
my_asnprintf (NULL, &length, "%Le %d", x.value, 33, 44, 55);
#if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
{ /* Quiet NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
size_t length;
char *result =
my_asnprintf (NULL, &length, "%Lg %d", x.value, 33, 44, 55);
{
/* Signalling NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
size_t length;
char *result =
my_asnprintf (NULL, &length, "%Lg %d", x.value, 33, 44, 55);
/* asnprintf should print something for noncanonical values. */
{ /* Pseudo-NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
size_t length;
char *result =
my_asnprintf (NULL, &length, "%Lg %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Infinity. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
size_t length;
char *result =
my_asnprintf (NULL, &length, "%Lg %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Zero. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
size_t length;
char *result =
my_asnprintf (NULL, &length, "%Lg %d", x.value, 33, 44, 55);
}
{ /* Unnormalized number. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
size_t length;
char *result =
my_asnprintf (NULL, &length, "%Lg %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Denormal. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
size_t length;
char *result =
my_asnprintf (NULL, &length, "%Lg %d", x.value, 33, 44, 55);
#if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
{ /* Quiet NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
size_t length;
wchar_t *result =
my_asnwprintf (NULL, &length, L"%La %d", x.value, 33, 44, 55);
{
/* Signalling NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
size_t length;
wchar_t *result =
my_asnwprintf (NULL, &length, L"%La %d", x.value, 33, 44, 55);
/* asnwprintf should print something for noncanonical values. */
{ /* Pseudo-NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
size_t length;
wchar_t *result =
my_asnwprintf (NULL, &length, L"%La %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Infinity. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
size_t length;
wchar_t *result =
my_asnwprintf (NULL, &length, L"%La %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Zero. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
size_t length;
wchar_t *result =
my_asnwprintf (NULL, &length, L"%La %d", x.value, 33, 44, 55);
}
{ /* Unnormalized number. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
size_t length;
wchar_t *result =
my_asnwprintf (NULL, &length, L"%La %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Denormal. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
size_t length;
wchar_t *result =
my_asnwprintf (NULL, &length, L"%La %d", x.value, 33, 44, 55);
#if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
{ /* Quiet NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
size_t length;
wchar_t *result =
my_asnwprintf (NULL, &length, L"%Lf %d", x.value, 33, 44, 55);
{
/* Signalling NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
size_t length;
wchar_t *result =
my_asnwprintf (NULL, &length, L"%Lf %d", x.value, 33, 44, 55);
/* asnwprintf should print something for noncanonical values. */
{ /* Pseudo-NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
size_t length;
wchar_t *result =
my_asnwprintf (NULL, &length, L"%Lf %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Infinity. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
size_t length;
wchar_t *result =
my_asnwprintf (NULL, &length, L"%Lf %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Zero. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
size_t length;
wchar_t *result =
my_asnwprintf (NULL, &length, L"%Lf %d", x.value, 33, 44, 55);
}
{ /* Unnormalized number. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
size_t length;
wchar_t *result =
my_asnwprintf (NULL, &length, L"%Lf %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Denormal. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
size_t length;
wchar_t *result =
my_asnwprintf (NULL, &length, L"%Lf %d", x.value, 33, 44, 55);
#if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
{ /* Quiet NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
size_t length;
wchar_t *result =
my_asnwprintf (NULL, &length, L"%Le %d", x.value, 33, 44, 55);
{
/* Signalling NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
size_t length;
wchar_t *result =
my_asnwprintf (NULL, &length, L"%Le %d", x.value, 33, 44, 55);
/* asnwprintf should print something even for noncanonical values. */
{ /* Pseudo-NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
size_t length;
wchar_t *result =
my_asnwprintf (NULL, &length, L"%Le %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Infinity. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
size_t length;
wchar_t *result =
my_asnwprintf (NULL, &length, L"%Le %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Zero. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
size_t length;
wchar_t *result =
my_asnwprintf (NULL, &length, L"%Le %d", x.value, 33, 44, 55);
}
{ /* Unnormalized number. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
size_t length;
wchar_t *result =
my_asnwprintf (NULL, &length, L"%Le %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Denormal. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
size_t length;
wchar_t *result =
my_asnwprintf (NULL, &length, L"%Le %d", x.value, 33, 44, 55);
#if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
{ /* Quiet NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
size_t length;
wchar_t *result =
my_asnwprintf (NULL, &length, L"%Lg %d", x.value, 33, 44, 55);
{
/* Signalling NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
size_t length;
wchar_t *result =
my_asnwprintf (NULL, &length, L"%Lg %d", x.value, 33, 44, 55);
/* asnwprintf should print something for noncanonical values. */
{ /* Pseudo-NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
size_t length;
wchar_t *result =
my_asnwprintf (NULL, &length, L"%Lg %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Infinity. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
size_t length;
wchar_t *result =
my_asnwprintf (NULL, &length, L"%Lg %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Zero. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
size_t length;
wchar_t *result =
my_asnwprintf (NULL, &length, L"%Lg %d", x.value, 33, 44, 55);
}
{ /* Unnormalized number. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
size_t length;
wchar_t *result =
my_asnwprintf (NULL, &length, L"%Lg %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Denormal. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
size_t length;
wchar_t *result =
my_asnwprintf (NULL, &length, L"%Lg %d", x.value, 33, 44, 55);
#if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
{ /* Quiet NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
char *result;
int retval =
my_asprintf (&result, "%La %d", x.value, 33, 44, 55);
{
/* Signalling NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
char *result;
int retval =
my_asprintf (&result, "%La %d", x.value, 33, 44, 55);
/* asprintf should print something for noncanonical values. */
{ /* Pseudo-NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
char *result;
int retval =
my_asprintf (&result, "%La %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Infinity. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
char *result;
int retval =
my_asprintf (&result, "%La %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Zero. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
char *result;
int retval =
my_asprintf (&result, "%La %d", x.value, 33, 44, 55);
}
{ /* Unnormalized number. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
char *result;
int retval =
my_asprintf (&result, "%La %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Denormal. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
char *result;
int retval =
my_asprintf (&result, "%La %d", x.value, 33, 44, 55);
#if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
{ /* Quiet NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
char *result;
int retval =
my_asprintf (&result, "%Lf %d", x.value, 33, 44, 55);
{
/* Signalling NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
char *result;
int retval =
my_asprintf (&result, "%Lf %d", x.value, 33, 44, 55);
/* asprintf should print something for noncanonical values. */
{ /* Pseudo-NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
char *result;
int retval =
my_asprintf (&result, "%Lf %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Infinity. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
char *result;
int retval =
my_asprintf (&result, "%Lf %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Zero. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
char *result;
int retval =
my_asprintf (&result, "%Lf %d", x.value, 33, 44, 55);
}
{ /* Unnormalized number. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
char *result;
int retval =
my_asprintf (&result, "%Lf %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Denormal. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
char *result;
int retval =
my_asprintf (&result, "%Lf %d", x.value, 33, 44, 55);
#if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
{ /* Quiet NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
char *result;
int retval =
my_asprintf (&result, "%Le %d", x.value, 33, 44, 55);
{
/* Signalling NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
char *result;
int retval =
my_asprintf (&result, "%Le %d", x.value, 33, 44, 55);
/* asprintf should print something for noncanonical values. */
{ /* Pseudo-NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
char *result;
int retval =
my_asprintf (&result, "%Le %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Infinity. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
char *result;
int retval =
my_asprintf (&result, "%Le %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Zero. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
char *result;
int retval =
my_asprintf (&result, "%Le %d", x.value, 33, 44, 55);
}
{ /* Unnormalized number. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
char *result;
int retval =
my_asprintf (&result, "%Le %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Denormal. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
char *result;
int retval =
my_asprintf (&result, "%Le %d", x.value, 33, 44, 55);
#if CHECK_PRINTF_SAFE && ((defined __ia64 && LDBL_MANT_DIG == 64) || (defined __x86_64__ || defined __amd64__) || (defined __i386 || defined __i386__ || defined _I386 || defined _M_IX86 || defined _X86_)) && !HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
{ /* Quiet NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0xC3333333, 0x00000000) };
char *result;
int retval =
my_asprintf (&result, "%Lg %d", x.value, 33, 44, 55);
{
/* Signalling NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x83333333, 0x00000000) };
char *result;
int retval =
my_asprintf (&result, "%Lg %d", x.value, 33, 44, 55);
/* asprintf should print something for noncanonical values. */
{ /* Pseudo-NaN. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x40000001, 0x00000000) };
char *result;
int retval =
my_asprintf (&result, "%Lg %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Infinity. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0xFFFF, 0x00000000, 0x00000000) };
char *result;
int retval =
my_asprintf (&result, "%Lg %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Zero. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4004, 0x00000000, 0x00000000) };
char *result;
int retval =
my_asprintf (&result, "%Lg %d", x.value, 33, 44, 55);
}
{ /* Unnormalized number. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x4000, 0x63333333, 0x00000000) };
char *result;
int retval =
my_asprintf (&result, "%Lg %d", x.value, 33, 44, 55);
}
{ /* Pseudo-Denormal. */
static union { unsigned int word[4]; long double value; } x =
- { LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
+ { .word = LDBL80_WORDS (0x0000, 0x83333333, 0x00000000) };
char *result;
int retval =
my_asprintf (&result, "%Lg %d", x.value, 33, 44, 55);