[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [bugs #3485] Using float arithmetic without linking with
From: |
Joerg Wunsch |
Subject: |
[avr-libc-dev] [bugs #3485] Using float arithmetic without linking with -lm result in incorrect code |
Date: |
Wed, 22 Dec 2004 17:46:29 -0500 |
User-agent: |
Mozilla/5.0 Galeon/1.2.13 (X11; FreeBSD i386; U;) Gecko/0 |
This mail is an automated notification from the bugs tracker
of the project: AVR C Runtime Library.
/**************************************************************************/
[bugs #3485] Latest Modifications:
Changes by:
Joerg Wunsch <address@hidden>
'Date:
Wed 12/22/04 at 22:35 (Europe/Berlin)
What | Removed | Added
---------------------------------------------------------------------------
Status | Closed | Open
------------------ Additional Follow-up Comments ----------------------------
Oops, closing this item was *not* intented.
/**************************************************************************/
[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/03 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 12/22/04 at 22:35 By: Joerg Wunsch <joerg_wunsch>
Oops, closing this item was *not* intented.
-------------------------------------------------------
Date: Wed 12/22/04 at 22:11 By: Joerg Wunsch <joerg_wunsch>
We ought to merge libc and libm completely. There are
other discrepancies as well, like FP conversion functions
listed in <stdlib.h>, while their implementation is only
present in libm.a.
This item will be deferred until after the release of 1.2.0.
-------------------------------------------------------
Date: Wed 05/07/03 at 15:46 By: Eric Weddington <arcanum>
Reduced severity as it's a documentation change.
File Attachments
-------------------
-------------------------------------------------------
Date: Tue 05/06/03 at 14:12 Name: k Size: 315B By: abaldoni
Disassembly of __floatsisf without -lm
http://savannah.nongnu.org/bugs/download.php?item_id=3485&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/