r230207 - Add C11 *_DECIMAL_DIG.

Ed Schouten ed at 80386.nl
Mon Feb 23 07:41:28 PST 2015


Hi Joerg,

2015-02-23 14:13 GMT+01:00 Joerg Sonnenberger <joerg at britannica.bec.de>:
> As I said earlier, I think this is a regression in readability. Please
> expand __DECIMAL_DIG__ without intermediate macro.

This is interesting. I cannot seem to find your reply in my mailbox,
nor in the list archives. Are you sure your email made it through
properly?

Are you sure that expanding the macro directly would improve
readability? I would say that this is subjective. In my opinion
readability is improved by adding the indirection. It explicitly
encodes the relationship between DECIMAL_DIG and *_DECIMAL_DIG. The
former has been replaced by the latter.

-- 
Ed Schouten <ed at 80386.nl>



More information about the cfe-commits mailing list