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

Reset cast buffer so it can be set with bitwise ORs #429

Closed
wants to merge 1 commit into from

Conversation

Ngalstyan4
Copy link
Contributor

When converting floating point arrays to binary, we use bitwise OR operations to set the relevant bits in the output buffer to 1. We do nothing if the bit is zero, so we assume that the bit is zero to start with.
The memset statement makes sure this assumption holds.

When converting floating point arrays to binary, we use bitwise OR
operations to set the relevant bits in the output buffer to 1. We do
nothing if the bit is zero, so we assume that the bit is zero to start
with.
The memset statement makes sure this assumption holds.
@ashvardanian
Copy link
Contributor

Hi @Ngalstyan4! I've already merged it in #428 🤗

@Ngalstyan4 Ngalstyan4 deleted the narek/bitcast-fix branch June 6, 2024 19:05
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.

2 participants