This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Make printf respect the rounding mode for hex output (bug 5044)
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Wed, 19 Sep 2012 09:38:22 -0700 (PDT)
- Subject: Re: Make printf respect the rounding mode for hex output (bug 5044)
- References: <Pine.LNX.4.64.1209190003390.10253@digraph.polyomino.org.uk>
> +struct hex_test {
> + double d;
> + const char *fmt;
> + const char *rd[4], *rn[4], *rz[4], *ru[4];
> +};
> +
> +static const struct hex_test hex_tests[] = {
> + {
GNU style never puts { on the end of a line like that, always on its own line.