« Return to Thread: ATTiniy 167 / Float

Re: ATTiniy 167 / Float

by Joerg Wunsch :: Rate this Message:

Reply to Author | View in Thread

Erwan MARC <emarc@...> wrote:

> As a result, we can see that as soon as we use float data, there is
> a block of 256 bytes used in RAM (_clz_tab) used (even if only a
> cast U32 => F32 is made).

When using floats, do *always* link against -lm (libm.a).

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

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


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@...
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

 « Return to Thread: ATTiniy 167 / Float