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: Rodney McCray
Subject: RE: [avr-gcc-list] Floating Point operations on tiny25
Date: Thu, 05 Mar 2009 03:45:06 -0800

Thanks Eric,
I will get back to you if I run into any trouble.

Best Regards,
Rodney

-----Original Message-----
From: Weddington, Eric [mailto:address@hidden
Sent: Wednesday, March 04, 2009 7:50 AM
To: Rodney McCray; address@hidden
Subject: RE: [avr-gcc-list] Floating Point operations on tiny25


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]