bugAVR C Runtime Library - Bugs: bug #13330, NaN is recognized not always


bug #13330: NaN is recognized not always

Submitted by:  None
Submitted on:  Wed 08 Jun 2005 07:00:12 AM UTC  
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  libm code
Status:  Fixed Assigned to:  Dmitry Xmelkov <dmix>
Percent Complete:  0% Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  None
Fixed Release:  None

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 21 Mar 2007 01:23:02 PM UTC, comment #2: 

Fixed in CVS MAIN branch with fplib rewriting.
There are no plans to change 1.4 branch.

Dmitry Xmelkov <dmix>
Project AdministratorIn charge of this item.
Thu 08 Sep 2005 02:19:13 AM UTC, comment #1: 

Today I have taken a file 'isnan-20050608.tar.gz' to check up. The file did not manage to be unpacked! Contents are completely destroyed! I have not found at myself an initial variant. I have not found at myself an initial variant and I send the following version.


Wed 08 Jun 2005 07:00:12 AM UTC, original submission:  

There is a mismatch between 'isnan', 'isinf' and avr-libc/libm arithmetic.
Attached file 'bug.c' illustratets this.
Also in tarball new variant is present.

Rationale: `isnan' must return non-zero value for all numbers, that
are rejected by libm/avr-libc.  'isinf', probably, should return always 0 as arithmetics with Inf is not realized.



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

Attach Files:

Attached Files
file #3462:  isnan-20050612.tar.gz added by None (2KiB - application/x-tgz - Next version. 'isnan-20050608.tar.gz' is destroyed.)
file #3065:  isnan-20050608.tar.gz added by None (645B - application/x-tgz - Tarball with bug case source and corrected 'isnan','isinf'.)


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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-12-18 joerg_wunsch StatusNone => Fixed
        Assigned toNone => dmix
        Open/ClosedOpen => Closed
    2007-01-08 joerg_wunsch Item GroupNone => libm code
    2005-09-08 None Attached File- => Added isnan-20050612.tar.gz, #2929
    2005-06-08 None Carbon-Copy- => Added dmixm --?±º-- marine --ÂǺ-- febras --ÂǺ-- ru
    2005-06-08 None Attached File- => Added isnan-20050608.tar.gz, #2581

    Back to the top

    Powered by Savane 3.5