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

Cos and Sin tables are unsigned #41

Open
artrag opened this issue May 9, 2024 · 0 comments
Open

Cos and Sin tables are unsigned #41

artrag opened this issue May 9, 2024 · 0 comments

Comments

@artrag
Copy link

artrag commented May 9, 2024

Cos and sin tables should be signed, this is causing the s_clock.c example to fail with SDCC 4.4
If you need to keep trigonometric tables unsigned you need to cast then to signed each time you use them
In attach the s_clock.c fixed without changing the trigonometric tables

s_clock.c.txt

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