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

changed cython floats to doubles #236

Merged
merged 1 commit into from
Oct 22, 2022
Merged

Conversation

krs013
Copy link
Collaborator

@krs013 krs013 commented Oct 22, 2022

CPython floats are internally doubles on most modern machines, but in Cython there are distinct float and double types. This PR replaces floats in our pxd files to doubles so they match the outputs of the functions they're interacting with.

This also will hopefully fix many of our issues with the frame limiter not working, since the 32-bit floats didn't have enough precision to measure the delay needed.

Copy link
Owner

@Baekalfen Baekalfen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. If build+test passes, we can merge

@krs013 krs013 merged commit c4d9f1c into Baekalfen:master Oct 22, 2022
@krs013 krs013 deleted the doublefloats branch October 22, 2022 17:21
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.

None yet

2 participants