bugAVR C Runtime Library - Bugs: bug #15266, Function ldexp incorrectly...

 
 

bug #15266: Function ldexp incorrectly processes overflow and underflow cases.

Submitted by:  Anatoly Sokolov <aesok>
Submitted on:  Wed 21 Dec 2005 11:06:52 PM UTC  
 
Category: LibrarySeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPercent Complete: 0%
Assigned to: NoneOpen/Closed: Closed
Release: NoneFixed 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 Dec 2005 11:06:52 PM UTC, original submission:

r = ldexp(3.0e38, 1); // r = NAN should be +Inf
r = ldexp(3.0e38, 2); // r = 0 should be +Inf
r = ldexp(3.0e38, 3); // r = 2.0726805E-038 should be +Inf
...

r = ldexp(-3.0e38, 1); // r = -NAN should be -Inf
r = ldexp(-3.0e38, 2); // r = 0 should be -Inf
r = ldexp(-3.0e38, 3); // r = 2.0726805E-038 should be -Inf
...

r = ldexp(3.0e-39, -1); // r = 0: OK
r = ldexp(3.0e-39, -2); // r = 8.6844086E+037 should be 0
r = ldexp(3.0e-39, -3); // r = 4.3422043E+037 should be 0
...

Anatoly Sokolov <aesok>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 02 Jan 2006 09:05:59 PM UTCaesokStatusReady For Test=>Fixed
  Assigned toaesok=>None
  Open/ClosedOpen=>Closed
Sun 25 Dec 2005 11:08:50 PM UTCaesokStatusNone=>Ready For Test
  Assigned toNone=>aesok

Back to the top


Powered by Savane 3.1-cleanup1