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 -Wimplicit-const-int-float-conversion #879

Merged
merged 1 commit into from
Nov 16, 2022

Conversation

mborland
Copy link
Member

Clang 15.0.4 issues the following warning:

In file included from ../../../boost/math/special_functions/beta.hpp:1603:
../../../boost/math/special_functions/detail/ibeta_inverse.hpp:374:140: warning: implicit conversion from 'int' to 'float' changes value from 23128299 to 23128300 [-Wimplicit-const-int-float-conversion]
   e3 -= (442043 * w_9 + 2054169 * w_8 + 3803094 * w_7 + 3470754 * w_6 + 2141568 * w_5 - 2393568 * w_4 - 19904934 * w_3 - 34714674 * w_2 - 23128299 * w - 5253353) * d / (146966400 * w_6 * w1_3);

@mborland mborland merged commit 23b1fba into boostorg:develop Nov 16, 2022
@mborland mborland deleted the const_int_float branch November 16, 2022 02:45
AZero13 pushed a commit to AZero13/math that referenced this pull request Jan 19, 2023
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.

1 participant