Skip to content

Bug: Python int and float objects are downcast to 32-bit types before sending. #13

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

Closed
amunra opened this issue Aug 16, 2022 · 0 comments · Fixed by #14
Closed

Bug: Python int and float objects are downcast to 32-bit types before sending. #13

amunra opened this issue Aug 16, 2022 · 0 comments · Fixed by #14
Assignees
Labels
bug Something isn't working

Comments

@amunra
Copy link
Collaborator

amunra commented Aug 16, 2022

Pyhon int and float objects are currently converted to 32-bit C int and C float types instead of the 64-bit int64_t and double types in C.
This is due to an error in the Cython binding code which uses the wrong datatypes.
A fix is imminent which will transmit these numbers correctly.

@amunra amunra self-assigned this Aug 16, 2022
@amunra amunra added the bug Something isn't working label Aug 16, 2022
@amunra amunra changed the title Bug: Python floats transmitted with 32 instead of 64-bit precision Bug: Python int and float objects are downcast to 32-bit types before sending. Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant