Skip to content

Update C to use floor and integer tests #725

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

Merged
merged 2 commits into from
May 23, 2025
Merged

Update C to use floor and integer tests #725

merged 2 commits into from
May 23, 2025

Conversation

drinckes
Copy link
Contributor

@drinckes drinckes commented May 23, 2025

See issues #674 and #717.

This corrects the C implementation to use floor when converting from degrees to the integer values, and adds tests for the conversion of degrees to integer, encoding from integers, and adds tolerance to the degrees encoding (due to floating point precision).

@drinckes drinckes merged commit 97f6e9d into main May 23, 2025
11 of 35 checks passed
@drinckes drinckes deleted the c_algo_674_717 branch May 23, 2025 11:33
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

Successfully merging this pull request may close these issues.

1 participant