avr-libc-dev
[Top][All Lists]
Advanced

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

[avr-libc-dev] [bugs #3485] Using float arithmetic without linking with


From: Eric Weddington
Subject: [avr-libc-dev] [bugs #3485] Using float arithmetic without linking with -lm result in incorrect code
Date: Wed, 22 Dec 2004 17:19:01 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1

This mail is an automated notification from the bugs tracker
 of the project: AVR C Runtime Library.

/**************************************************************************/
[bugs #3485] Latest Modifications:

Changes by: 
                Eric Weddington <address@hidden>
'Date: 
                Wed 12/22/2004 at 22:07 (America/Denver)

            What     | Removed                   | Added
---------------------------------------------------------------------------
            Priority | 3 - Low                   | 2







/**************************************************************************/
[bugs #3485] Full Item Snapshot:

URL: <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=3485>
Project: AVR C Runtime Library
Submitted by: Andrea Baldoni
On: Tue 05/06/2003 at 14:12

Category:  Documentation
Severity:  3 - Ordinary
Priority:  2
Item Group:  None
Resolution:  None
Privacy:  Public
Percent Complete:  0%
Assigned to:  None
Originator Email:  address@hidden
Status:  Open


Summary:  Using float arithmetic without linking with -lm result in incorrect 
code

Original Submission:  In the normal C environment, it's possibile to compile 
correct code using floating point arithmetic without linking math library. Math 
library is required only if functions like sin() are used. I try to do the same 
with avr-libc, but the math code included (__floatsisf for instance) contains 
jmp 0x0 wich obviusly isn't what I wanted. Linking with -lm is a solution, but 
it must be stated that every use of FPA requires -lm.

Follow-up Comments
------------------


-------------------------------------------------------
Date: Wed 05/07/2003 at 15:46       By: Eric Weddington <arcanum>
Reduced severity as it's a documentation change.






File Attachments
-------------------

-------------------------------------------------------
Date: Tue 05/06/2003 at 14:12  Name: k  Size: 315B   By: abaldoni
Disassembly of __floatsisf without -lm
http://savannah.nongnu.org/bugs/download.php?item_id=3485&amp;item_file_id=430






For detailed info, follow this link:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=3485>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/







reply via email to

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