bugAVR C Runtime Library - Bugs: bug #12646, strtod returns error for valid...

 
 

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

bug #12646: strtod returns error for valid input

Submitter:  Bryan Hord <feralbeagle>
Submitted:  Mon 11 Apr 2005 07:49:53 PM UTC
   
 
Category:  Library Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  joerg_wunsch
Percent Complete:  0% Open/Closed:  Closed
Release:  None Fixed Release:  None

Fri 01 Jul 2005 01:10:16 PM UTC, comment #1: 

I have posted a patch #4137 that will fix this.

Bjarne Laursen <bl_rosetech>
Mon 11 Apr 2005 07:49:53 PM UTC, original submission:  

strtod returns with the same no conversion performed condition if the input string is'0', '0.0', '0e0' or 'cupcake'. But the string '0e1' returns with a conversion complete condition. All the referenced inputs return a correct value of 0. The no conversion complete condition is indicated by nptr and *endptr being equal and the returned value equal to 0. Note that the presently the endptr high and low bytes are swapped (see the other bug on this subject).

Bryan Hord <feralbeagle>

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Follow 5 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-07-31 joerg_wunsch StatusNone Fixed
    Assigned toNone joerg_wunsch
    Open/ClosedOpen Closed
2005-07-01 bl_rosetech Carbon-Copy- Added -email is unavailable-
2005-04-11 feralbeagle Carbon-Copy- Added -email is unavailable-

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code