This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2] Replace use of snprintf with strfrom in libm tests
- From: Joseph Myers <joseph at codesourcery dot com>
- To: "Gabriel F. T. Gomes" <gftg at linux dot vnet dot ibm dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Mon, 19 Dec 2016 18:26:07 +0000
- Subject: Re: [PATCH v2] Replace use of snprintf with strfrom in libm tests
- Authentication-results: sourceware.org; auth=none
- References: <1482171799-3636-1-git-send-email-gftg@linux.vnet.ibm.com>
On Mon, 19 Dec 2016, Gabriel F. T. Gomes wrote:
> - Use totalorder in fmt_ftostr to detect if the floating-point
> number being printed is non-negative, then add a leading space.
Surely signbit is the appropriate thing to use here (much simpler and
obviously correct), not totalorder....
--
Joseph S. Myers
joseph@codesourcery.com