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

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

RE: [avr-gcc-list] Floating Point operations on tiny25


From: Weddington, Eric
Subject: RE: [avr-gcc-list] Floating Point operations on tiny25
Date: Wed, 4 Mar 2009 08:50:29 -0700

Hi Rodney,

You should just be able to typecast an integer type into a float type. Just 
realize that working with floats is generally expensive in terms of code space.

Let me know if you need me to look over some code.

Eric Weddington

> -----Original Message-----
> From: 
> address@hidden 
> [mailto:address@hidden
> org] On Behalf Of Rodney McCray
> Sent: Wednesday, March 04, 2009 7:18 PM
> To: address@hidden
> Subject: [avr-gcc-list] Floating Point operations on tiny25
> 
> Does anyone have any working sample code that shows how to 
> convert 10 bit
> ADC outputs into floating points using GCC.
> I need to work with floating points on an ATtiny25.
> 
> Best Regards,
> Rodney
> 
> 
> 
> 
> _______________________________________________
> AVR-GCC-list mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
> 




reply via email to

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