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

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

[avr-libc-dev] [bugs #11511] NaN not generated correctly by division lib


From: Colin O Flynn
Subject: [avr-libc-dev] [bugs #11511] NaN not generated correctly by division library
Date: Thu, 06 Jan 2005 19:14:14 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041111 Firefox/1.0

This mail is an automated notification from the bugs tracker
 of the project: AVR C Runtime Library.




/**************************************************************************/
[bugs #11511] Full Item Snapshot:

URL: <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=11511>
Project: AVR C Runtime Library
Submitted by: Colin O  Flynn
On: Fri 01/07/2005 at 00:02

Category:  Library
Severity:  5 - Average
Priority:  5 - Normal
Item Group:  None
Resolution:  None
Privacy:  Public
Percent Complete:  0%
Assigned to:  None
Originator Email:  address@hidden
Status:  Open


Summary:  NaN not generated correctly by division library

Original Submission:  It seems NaN is not generated correctly when you divide 
by 0 as it should be. The code is present in the division routine. As well if 
you set a floating point variable to nan when using a printf() on this number 
it prints as "nan".

A check of the division routine shows the test for zero occuring as not true 
when the number is clearly zero, using avarice.











For detailed info, follow this link:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=11511>

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







reply via email to

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