Rick Mann <[email protected]> wrote:

> I thought the %f specifier accepted double or float.

While it's in practice the same in AVR-GCC, formally, it doesn't.
There is no output format specifier for `float', since it's impossible
passing a float down to a vargs function (it will always be promoted
to `double').

Reference: ISO/IEC 9899:1999, 7.19.6.1 The fprintf function

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)

_______________________________________________
AVR-chat mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to