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 <Invalid User ID>
Submitted on:  Tue 06 May 2003 02:12:24 PM UTC  
Category: LibrarySeverity: 2 - Minor
Priority: 2Item Group: libm code
Status: NonePercent Complete: 50%
Assigned to: Eric Weddington <arcanum>Open/Closed: Open
Release: 1.6.2Fixed 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 Jump to the original submission)

Sun 02 Sep 2012 07:45:32 PM UTC, comment #6:

See also the discussion in avr-gcc: Add --with-avrlibc configure option for AVR-Libc

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 File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 21 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 18 Jun 2008 08:04:28 PM UTCarcanumStatusFixed=>None
      Percent Complete100%=>50%
    Wed 18 Jun 2008 08:03:19 PM UTCarcanumReleaseNone=>1.6.2
    Thu 20 Mar 2008 05:46:28 AM UTCjoerg_wunschCategoryDocumentation=>Library
      Item GroupDocumentation=>libm code
      Fixed Release1.7.1=>None
    Wed 19 Mar 2008 11:39:48 PM UTCarcanumStatusNone=>Fixed
      Percent Complete0%=>100%
      Assigned toNone=>arcanum
      Fixed ReleaseNone=>1.7.1
    Wed 19 Mar 2008 11:39:47 PM UTCarcanumItem Grouplibm code=>Documentation
    Mon 08 Jan 2007 01:00:15 PM UTCjoerg_wunschItem GroupNone=>libm code
    Wed 01 Nov 2006 09:02:30 AM UTCjoerg_wunschCarbon-Copy-=>Added -unavailable-
    Wed 22 Dec 2004 10:35:07 PM UTCjoerg_wunschOpen/ClosedClosed=>Open
    Wed 22 Dec 2004 10:11:09 PM UTCjoerg_wunschOpen/ClosedOpen=>Closed
    Wed 22 Dec 2004 10:07:30 PM UTCarcanumPriority3 - Low=>2
    Mon 01 Nov 2004 11:42:29 PM UTCarcanumAttached File#906=>Removed
    Wed 24 Dec 2003 06:05:02 PM UTCNoneAttached File-=>Added TASK MANAGER.EXE, #906
    Wed 07 May 2003 03:46:31 PM UTCarcanumSeverity3 - Normal=>(Error - Not Found)

    Back to the top

    Powered by Savane 3.1-cleanup1