Eric Lemings wrote:
>
> file stdcxx/trunk/etc/config/src/FLOAT.cpp:
> 228 #ifndef _RWSTD_NO_LONG_DOUBLE
> 229 # if defined (LDBL_EPSILON)
> 230 PRINTFLT (LDBL_EPSILON, LDBL_FMT, LDBL_DIG, "L");
> 231 # endif // LDBL_EPSILON
>
> LDBL_DIG? Cut'n'paste error?
I don't see anything wrong here. The third argument to the PRINTFLT()
macro is the precision:
http://fisheye6.cenqua.com/browse/stdcxx/trunk/etc/config/src/FLOAT.cpp?r=trunk#l144
144 #define PRINTFLT(macro, fmt, prec, suffix) \
145 print_float (macro, STRINGIZE (macro), #macro, "%.*" fmt
"e" suffix, prec)
Martin
|