Paul Eggert wrote:
> > Do they lack the C99 printf 'a' and 'A' conversion?)
> 
> It depends on the compiler and version.  For example, SAS/C 7.50
> (April 2004) has 'a' and 'A', but SAS/C 7.00 (April 2001) does not.

OK, a mainframe system with a 6 year old compiler - that's enough of a niche
market that I don't worry too much about the rounding errors that the code
may produce.

But I now use formulas based LDBL_DIG instead of LDBL_MANT_DIG, so that
the code will work with FLT_RADIX = 16 as well (modulo the mentioned
rounding errors).

Bruno



Reply via email to