We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have a double promotion warning from Clang 9.0. Looks like a simple static_cast<double>(value) should fix it.
static_cast<double>(value)
fmt/format.h:1194:51: error: implicit conversion increases floating-point precision: 'float' to 'double' [-Werror,-Wdouble-promotion] inline double promote_float(float value) { return value; }
The text was updated successfully, but these errors were encountered:
Suppressed the warning with a static_cast in b3fd000.
Sorry, something went wrong.
@vitaut Many thanks!
No branches or pull requests
I have a double promotion warning from Clang 9.0. Looks like a simple
static_cast<double>(value)
should fix it.The text was updated successfully, but these errors were encountered: