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

Comparing an int to 0.5 #7854

Merged
merged 1 commit into from
Nov 17, 2024

Conversation

Dave-Lowndes
Copy link
Contributor

A floating point value was truncated to an int and then compared to 0.5 - which seems wrong. Just compare the float value itself.

….5 - seems wrong! Just compare the float value itself.
@baconpaul baconpaul merged commit fdd7667 into surge-synthesizer:main Nov 17, 2024
13 checks passed
@Dave-Lowndes Dave-Lowndes deleted the Comparing2Float branch November 22, 2024 20:12
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