[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [patch #6680] Sine, cosine functions
From: |
Ruud |
Subject: |
[avr-libc-dev] [patch #6680] Sine, cosine functions |
Date: |
Mon, 24 Nov 2008 13:13:46 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4 |
URL:
<http://savannah.nongnu.org/patch/?6680>
Summary: Sine, cosine functions
Project: AVR C Runtime Library
Submitted by: ruud62
Submitted on: Mon Nov 24 13:13:45 2008
Category: None
Priority: 3 - Low
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
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
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon Nov 24 13:13:45 2008 Name: sintest.txt Size: 2kB By: ruud62
<http://savannah.nongnu.org/patch/download.php?file_id=16912>
-------------------------------------------------------
Date: Mon Nov 24 13:13:45 2008 Name: fp_sinus2.s Size: 4kB By: ruud62
<http://savannah.nongnu.org/patch/download.php?file_id=16913>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?6680>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-libc-dev] [patch #6680] Sine, cosine functions,
Ruud <=