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

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

[avr-gcc-list] double precision bit representation


From: Kitts
Subject: [avr-gcc-list] double precision bit representation
Date: Thu, 7 Jul 2005 02:27:02 +0530
User-agent: KMail/1.8

Hi all,

I would like to know how a variable declared as double is represented with 
avr-libc. What is the maximum and minimum values that it can represent and 
with what resolution? I am performing floating point math which fails in 
certain occasion where i think it shouldn't. Hence my query...

For an example i have a double variable called "TempDouble" which is placed 
at the following address in SRAM with each of the byte having the given 
value. How do i interpret this value in decimal?

Ram Address:    $0B6F   $0B70   $0B71   $0B72
Value:          00              50              91              3F

Thanks in Advance.
-- 
Cheers!
Kitts





reply via email to

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