[PATCH v6 2/3] Refactor strtod tests

Gabriel F. T. Gomes gftg@linux.vnet.ibm.com
Thu Oct 6 19:18:00 GMT 2016


On Thu, 6 Oct 2016 16:35:49 +0000
Joseph Myers <joseph@codesourcery.com> wrote:

> On Wed, 5 Oct 2016, Gabriel F. T. Gomes wrote:
> 
> > -      printf (FNPFXS "to" #FSUF  " (" STRM ") returned " STRM   \
> > -	      " not " STRM " (%s)\n",				\  
> 
> As far as I can tell, the STRM macro is no longer used, so I'd expect it 
> to be removed from stdlib/tst-strtod-round.c and wcsmbs/tst-wcstod-round.c 
> by this patch.
> 

It's still being used a little bit further down the patch.  The
variable that is printed is the same that is passed to strtod (char *)
and wcstod (uchar_t *), thus the need for STRM.



More information about the Libc-alpha mailing list