bugAVR C Runtime Library - Bugs: bug #3485, Using float arithmetic without...


bug #3485: Using float arithmetic without linking with -lm result in incorrect code

Submitted by:  Invalid User ID <#18784>
Submitted on:  Tue 06 May 2003 02:12:24 PM UTC  
Category:  Library Severity:  2 - Minor
Priority:  2 Item Group:  libm code
Status:  None Assigned to:  Eric Weddington <arcanum>
Percent Complete:  50% Open/Closed:  Open
Release:  1.6.2 Fixed Release:  None

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


( Jump to the original submission)

Sun 02 Sep 2012 07:45:32 PM UTC, comment #6: 
Georg-Johann Lay <gjlayde>
Thu 20 Mar 2008 05:46:28 AM UTC, comment #5: 

Well, let's keep this one open until all of our libgcc routines
have really been integrated into libgcc (__fixunssfsi etc.).
This is the actual reason for the incorrect code, and I've
already talked to Dmitry, he wants to look into what needs to
be done to contribute that back to the GCC project.

Unless any of the functions from <math.h> is needed, linking
against libm.a ought to be entirely optional, and should not
cause different code to be generated.

Joerg Wunsch <joerg_wunsch>
Project Administrator
Wed 01 Nov 2006 09:02:30 AM UTC, comment #4: 

Bug #18169 has been marked as a duplicate.

Joerg Wunsch <joerg_wunsch>
Project Administrator
Wed 22 Dec 2004 10:35:07 PM UTC, comment #3: 

Oops, closing this item was not intented.

Joerg Wunsch <joerg_wunsch>
Project Administrator
Wed 22 Dec 2004 10:11:09 PM UTC, comment #2: 

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.

Joerg Wunsch <joerg_wunsch>
Project Administrator
Wed 07 May 2003 03:46:31 PM UTC, comment #1: 

Reduced severity as it's a documentation change.

Eric Weddington <arcanum>
Project AdministratorIn charge of this item.


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by gjlayde (Posted a comment)
  • -email is unavailable- added by arcanum (Updated the item)
  • -email is unavailable- added by joerg_wunsch (Updated the item)



    Follow 21 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-06-18 arcanum StatusFixed => None
        Percent Complete100% => 50%
    2008-06-18 arcanum ReleaseNone => 1.6.2
    2008-03-20 joerg_wunsch CategoryDocumentation => Library
        Item GroupDocumentation => libm code
        Open/ClosedClosed => Open
        Fixed Release1.7.1 => None
    2008-03-19 arcanum StatusNone => Fixed
        Percent Complete0% => 100%
        Assigned toNone => arcanum
        Open/ClosedOpen => Closed
        Fixed ReleaseNone => 1.7.1
    2008-03-19 arcanum Item Grouplibm code => Documentation
    2007-01-08 joerg_wunsch Item GroupNone => libm code
    2006-11-01 joerg_wunsch Carbon-Copy- => Added hakan@debian.org
    2004-12-22 joerg_wunsch Open/ClosedClosed => Open
    2004-12-22 joerg_wunsch Open/ClosedOpen => Closed
    2004-12-22 arcanum Priority3 - Low => 2
    2004-11-01 arcanum Attached File#906 => Removed
    2003-12-24 None Attached File- => Added TASK MANAGER.EXE, #906
    2003-05-07 arcanum Severity3 - Normal => (Error - Not Found)

    Back to the top

    Powered by Savane 3.5