bugAVR C Runtime Library - Bugs: bug #11820, dtostre: wrong output with...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #11820: dtostre: wrong output with percision =3

Submitter:  None
Submitted:  Wed 02 Feb 2005 06:19:21 PM UTC
   
 
Category:  Library Severity:  3 - Normal
Priority:  5 - Normal Item Group:  libm code
Status:  Fixed Assigned to:  dmix
Percent Complete:  10% Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  None
Fixed Release:  None

Wed 21 Mar 2007 01:27:08 PM UTC, comment #3: 

Fixed in CVS MAIN branch.

Dmitry Xmelkov <dmix>
Group administrator
Wed 23 Mar 2005 08:02:27 AM UTC, comment #2: 

Look a patch #3851 ('dtostre' speed up). This is another realization this function (preliminary now). Accuracy is 0.5 LSB (not fully tested) with precisions 0..6 (1..7 digits), and 0.58 LSB with precision 7 (8 digits).

Anonymous
Mon 07 Feb 2005 09:00:26 PM UTC, comment #1: 

This is a difficult beast to handle.  Maybe I've got an idea
about the actual problem, but this definately requires
thorough testing before I'll commit it to CVS.  I have to
defer that a bit because I ran out of time by now, and some
more urgent things needs to be done first, so avr-libc 1.2.2
can be rolled.

If you need a patch of the current state for testing, send
me a private mail.

Joerg Wunsch <joerg_wunsch>
Group administrator
Wed 02 Feb 2005 06:19:21 PM UTC, original submission:  

dtostre has wrong output with precision=3.

Testcase: Value 1e-15 results ":.000e-16"

Tested with avr-libc Version 1.0.4, WinAVR-20040720
AVR-STudio Simulator and on ATMega16 Hardware.

Anonymous

 

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

Attached Files
file #2483:  main.c added by None (185B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Follow 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-12-18 joerg_wunsch StatusNone Fixed
        Assigned tojoerg_wunsch dmix
        Open/ClosedOpen Closed
    2007-01-08 joerg_wunsch Item GroupNone libm code
    2005-02-07 joerg_wunsch Priority7 - High 5 - Normal
        Percent Complete0% 10%
    2005-02-03 joerg_wunsch Priority5 - Normal 7 - High
        Assigned toNone joerg_wunsch
    2005-02-02 None Attached File- Added main.c, #2143

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code