Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[patch #6680] Sine, cosine functions #759

Open
avrs-admin opened this issue Jan 31, 2022 · 2 comments
Open

[patch #6680] Sine, cosine functions #759

avrs-admin opened this issue Jan 31, 2022 · 2 comments

Comments

@avrs-admin
Copy link

Mon 24 Nov 2008 02:13:45 PM CET

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 #16913: fp_sinus2.s
file #16912: sintest.txt

This issue was migrated from https://savannah.nongnu.org/patch/?6680

@avrs-admin
Copy link
Author

Joerg Wunsch <joerg_wunsch>
Tue 08 Jun 2010 01:51:00 PM CEST

Dmitry is our Mr. libm.

@avrs-admin
Copy link
Author

Eric Weddington
Fri 13 May 2011 12:30:13 AM CEST

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant