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

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

[avr-libc-dev] [bugs #9348] asin (acos) & atan problem (64K boundary)


From: Theodore A. Roth
Subject: [avr-libc-dev] [bugs #9348] asin (acos) & atan problem (64K boundary)
Date: Mon, 01 Nov 2004 12:28:39 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041007 Debian/1.7.3-5

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

/**************************************************************************/
[bugs #9348] Latest Modifications:

Changes by: 
                Theodore A. Roth <address@hidden>
'Date: 
                Mon 11/01/04 at 17:22 (US/Pacific)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
         Assigned to | None                      | troth
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
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.






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

URL: <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=9348>
Project: AVR C Runtime Library
Submitted by: 0
On: Tue 06/15/04 at 13:03

Category:  Library
Severity:  5 - Average
Item Group:  None
Resolution:  Fixed
Privacy:  Public
Assigned to:  troth
Originator Email:  address@hidden
Status:  Closed


Summary:  asin (acos) & atan problem (64K boundary)

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

Follow-up Comments
------------------


-------------------------------------------------------
Date: Mon 11/01/04 at 17:22         By: Theodore A. Roth <troth>
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.

-------------------------------------------------------
Date: Mon 10/18/04 at 17:29         By: Eric Weddington <arcanum>
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.












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

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







reply via email to

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