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

Implement most of missing functionality for fixed point #48

Closed
wants to merge 3 commits into from

Conversation

richardhozak
Copy link

@richardhozak richardhozak commented Aug 7, 2023

This PR implements missing functionality for fixed point numbers that is needed for parry to use fixed point numbers as reals instead of f32 or f64.

Some of the functionality is generalized and some of it is implemented only for FixedI32F32 fixed point number, as that is what I used to test this with parry.

I would like to get this completed for all fixed point numbers, so parry or other crates can use arbitrary fixed point numbers, but I am not sure how to continue (there is some From conversions in fixed_point.rs that I know how to generalize, but I am not sure how to impl_float_simd! for all fixed point numbers).

Could anyone point me in correct direction in order for me to complete this?

This makes it so simd_horizontal_sum and simd_horizontal_product can be implemented for fixed point numbers.
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