Closed glennsweeney closed 1 year ago
GCC and Clang -Wdouble-promotion generates warnings for implicit promotion of float to double. This warning can be advantageous in some cases.
-Wdouble-promotion
This PR adds an explicit cast to suppress the warning when enabled. There is no functionality change.
GCC and Clang
-Wdouble-promotion
generates warnings for implicit promotion of float to double. This warning can be advantageous in some cases.This PR adds an explicit cast to suppress the warning when enabled. There is no functionality change.