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

Use correct math functions from std:: #387

Merged
merged 1 commit into from
Oct 7, 2023

Conversation

mkilgore
Copy link
Contributor

@mkilgore mkilgore commented Oct 7, 2023

With the removal of using namespace std; we inadvertently started using some of the global math.h versions of these functions, which take different types and result in computation errors.

The fix is to prefix all these functions with std:: so that we go back to using the std:: versions.

With the removal of `using namespace std;` we inadvertently started
using some of the global math.h versions of these functions, which take
different types and resulting in computation errors.

The fix is to prefix all these functions with std:: so that we go back
to using the std:: versions.
@mkilgore mkilgore added the bug Something isn't working label Oct 7, 2023
@mkilgore mkilgore merged commit 6652b93 into QB64-Phoenix-Edition:main Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants