avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #12646] strtod returns error for valid input


From: Bryan Hord
Subject: [avr-libc-dev] [bug #12646] strtod returns error for valid input
Date: Mon, 11 Apr 2005 19:49:53 +0000
User-agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2

URL:
  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=12646>

                 Summary: strtod returns error for valid input
                 Project: AVR C Runtime Library
            Submitted by: feralbeagle
            Submitted on: Mon 04/11/2005 at 19:49
                Category: Library
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open

    _______________________________________________________

Details:

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).



    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
address@hidden               | 




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=12646>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]