r230207 - Add C11 *_DECIMAL_DIG.

Joerg Sonnenberger joerg at britannica.bec.de
Mon Feb 23 05:13:38 PST 2015


On Mon, Feb 23, 2015 at 09:12:32AM -0000, Ed Schouten wrote:
> Also update the tests. It seems that some of the existing test vectors
> were incorrect. Change all tests for __DECIMAL_DIG__ to expect
> __LDBL_DECIMAL_DIG__. Add tests for *_DECIMAL_DIG for FreeBSD/amd64, as
> I happen to have such a system laying around. I've validated that the
> values are in sync with <float.h>.

As I said earlier, I think this is a regression in readability. Please
expand __DECIMAL_DIG__ without intermediate macro.

Joerg



More information about the cfe-commits mailing list