|
From: rchavez <rc...@so...> - 2002-06-09 02:22:55
|
Thanks for all the useful replies on this. They helped me clear up some other minor mysteries regarding double variables. My text did not mention format specifiers hd, le or lg at the appropriate times ( only in the appendix once I knew what I was looking for ). Two related questions if I may: double should be equivalent to long float but long float gives compiler error. Was the ANSI standard changed? long double compiles but I get strange behavior as I did for short when using %d instead of %hd. I looked for long double in Kernighan & Ritchie but saw only the modifiers h & l. Is there a format specifier for long double? If not, why do I not get an error in compiling as I did for short char? Rob |