Skip to content

fix soxr: remove FE_INVALID optimization #627

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
Apr 15, 2025
Merged

fix soxr: remove FE_INVALID optimization #627

merged 2 commits into from
Apr 15, 2025

Conversation

theomonnom
Copy link
Member

Remove FE_INVALID-based exception handling since FPU doesn't detect float-to-int overflows.
Now that we perform explicit bounds checking, the exception-based path offers no performance benefit.
Ensures safe and portable clipping behavior across all platforms.

@theomonnom theomonnom merged commit e8a7a6a into main Apr 15, 2025
20 checks passed
@theomonnom theomonnom deleted the theo/no-fe branch April 15, 2025 15:24
@livekit livekit deleted a comment from ilo-nanpa bot Apr 15, 2025
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