patchAVR C Runtime Library - Patches: patch #6680, Sine, cosine functions

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #6680: Sine, cosine functions

Submitter:  Ruud <ruud62>
Submitted:  Mon 24 Nov 2008 01:13:45 PM UTC
   
 
Category:  None Priority:  3 - Low
Status:  None Privacy:  Public
Assigned to:  dmix Open/Closed:  Open

Thu 12 May 2011 10:30:13 PM UTC, comment #2: 

Dmitry, could you please take a look at these patches?

Eric Weddington <arcanum>
Group administrator
Tue 08 Jun 2010 11:51:00 AM UTC, comment #1: 

Dmitry is our Mr. libm.

Joerg Wunsch <joerg_wunsch>
Group administrator
Mon 24 Nov 2008 01:13:45 PM UTC, original submission:  

Hi All,
I listed this under patches, if this is wrong I'm sorry..

The issues are the sine, cosine functions. When I started to try to speed-up the sine function I noticed that version 1.6.3 was quite inaccurate (errors as much as 2 times the lsb). So I made a quick draft of an improved? Version.. See attached file fp_sinus2. This is by no means intended as a final version, but is merely meant as an quick draft which needs improving and splitting (powsodd should be used by tan, tanh… etc). The results however are quite good. See attached sintest.txt (written with notepad windows).  More than twice the speed and much better accuracy..
Regards
Ruud

Ruud <ruud62>
Group Member

 

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

Attached Files
file #16912:  sintest.txt added by ruud62 (2KiB - text/plain)
file #16913:  fp_sinus2.s added by ruud62 (4KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by arcanum (Posted a comment)
  • -email is unavailable- added by joerg_wunsch (Posted a comment)
  • -email is unavailable- added by ruud62 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-06-08 joerg_wunsch Assigned toNone dmix
    2008-11-24 ruud62 Attached File- Added sintest.txt, #16912
        Attached File- Added fp_sinus2.s, #16913

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code