Hi.

Avr-libc bug #21872: __floatunsisf/undisf incorrectly named

This bug is fixed at the end of 2007 in HEAD and 1.6
branches.

(Remember: It enlarges the program size approx. by 1kB. The
reason is incorrect name of function unsigned_long_to_float
conversion. So the libgcc's variant is used: large if flash
and RAM.  This bug is actual with new compiler - 4.2 - for
all Avr-libc branches, including 1.4, 1.2 and so on.)

This is actually to users who are not happy to load
a corrected CVS Avr-libc version.

The possible workaround is to add the needed function
manualy like:

   extern float __floatunssisf (unsigned long u);
   float __floatunsisf (unsigned long u)
   {
     return __floatunssisf (u);
   }

This is not the best method. This is the simplest
to understand.

Regards,
Dmitry.



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

Reply via email to