[PATCH v7 3/3] Add tests for strfrom functions
Joseph Myers
joseph@codesourcery.com
Tue Oct 11 00:08:00 GMT 2016
On Thu, 6 Oct 2016, Gabriel F. T. Gomes wrote:
> + double val;
I'd expect the tables of data to be included in the type-generic parts of
the tests rather than always using double in those tables. For example:
> + {"NAN", __builtin_nans (""), "%G", 50, 3},
Testing sNaNs won't have the intended effect if there's a conversion from
double to another type involved.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list