formatting precision

2009-07-24 Thread Saaa
Isn't the precision of a float 8 decimal digits? .dig reports 6 Why isn't %.100g cropped to the max decimal digits of the accompanying type? floating point types are printed with 20 digits.

Re: formatting precision

2009-07-24 Thread Saaa
I just want to format in full precision. As far as I can see 6 digits is not the full precision e.g. 0x7EAB = 1.1342746e38