avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] float and double


From: Jamie Morken
Subject: [avr-gcc-list] float and double
Date: Wed, 24 Jul 2002 14:15:02 -0700

Hi,

I have been experimenting with the avr-gcc tools and have noticed that I can
never have more than 6 digits with the float and double data types.
ie. if I do this in the code:
float temp9 = 3455322456.542234543;
The simulator will show this:
3.45532E+009

Never more than 6 digits :)
Is there a way to enable higher resolution?

best regards,
Jamie Morken


avr-gcc-list at http://avr1.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]