AVR 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: |
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> |
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 | Status | None | Fixed | |
Assigned to | None | joerg_wunsch | |||
Open/Closed | Open | Closed | |||
2005-07-01 | bl_rosetech | Carbon-Copy | - | Added -email is unavailable- | |
2005-04-11 | feralbeagle | Carbon-Copy | - | Added -email is unavailable- |
Powered by Savane 3.13-02a9.
Corresponding source code
I have posted a patch #4137 that will fix this.