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

Fixed exponential function not working #93

Closed
wants to merge 1 commit into from
Closed

Fixed exponential function not working #93

wants to merge 1 commit into from

Conversation

Pahheb
Copy link

@Pahheb Pahheb commented Dec 15, 2023

Due to the percent and exponent variables being represented in double instead of float, the usage of the powf function resulted in the wrong calculation and therefore incorrect functionality of the exponent, as stated in the issue #84.

Changing this function to its double equivalent - pow, fixes this.

@Hummer12007
Copy link
Owner

@Pahheb would you mind copy-pasting the output before and after your patch? I'll verify it by myself later otherwise.

@Hummer12007
Copy link
Owner

Didn't manage to find any difference in the output with the current version. Addressed #84 separately

@Hummer12007 Hummer12007 closed this Feb 4, 2024
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.

None yet

2 participants