bugAVR C Runtime Library - Bugs: bug #9348, asin (acos) & atan problem...

 
 

bug #9348: asin (acos) & atan problem (64K boundary)

Submitted by:  None
Submitted on:  Tue 15 Jun 2004 01:03:36 PM UTC  
 
Category: LibrarySeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPercent Complete: 0%
Assigned to: Theodore A. Roth <troth>Originator Email: -unavailable-
Open/Closed: ClosedRelease: 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.

 

Mon 01 Nov 2004 05:22:54 PM UTC, comment #2:

Both asin.S and atan.S were missing PGM_SECTION before the lookup tables. Adding that forces the tables into the lower 64K of flash (i.e. the .progmem.gcc_fplib section).

Fix applied to both cvs HEAD and 1.0 branch.

Theodore A. Roth <troth>In charge of this item.
Mon 18 Oct 2004 05:29:49 PM UTC, comment #1:

The reason why this is happening is that acos() calls asin(), and asin() and atan() are both implemented using tables. The data tables are loaded with a 16 bit pointer, hence only work in the lowest 64K address space.

Eric Weddington <arcanum>
Project Administrator
Tue 15 Jun 2004 01:03:36 PM UTC, original submission:

When crossing 64K boundary asin, acos and atan give incorrect results.

Anonymous

 

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

Date Changed By Updated Field Previous Value => Replaced By
Mon 01 Nov 2004 05:22:54 PM UTCtrothStatusNone=>Fixed
  Assigned toNone=>troth
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1