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

Fix float-to-int underflows (#199, #252) #303

Conversation

dhdaines
Copy link
Contributor

IIRC float to integer conversion is somewhat underspecified in IEEE754, and MIPS and other architectures do different things, leading to unpredictable (and bad) decoding results.

In any case we shouldn't be underflowing in the first place!!

This should fix that everywhere, and also clarifies some magic constants to be less magic.

@dhdaines dhdaines linked an issue Sep 28, 2022 that may be closed by this pull request
@dhdaines dhdaines merged commit 080aa8c into master Sep 28, 2022
@dhdaines dhdaines deleted the 199-pocketsphinx_continuous-is-unable-to-convert-speech-to-text branch September 28, 2022 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

pocketsphinx_continuous is unable to convert speech to text
1 participant