You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are several implicit conversions from single precision to double precision happening in float Adafruit_MAX31865::temperature(float RTDnominal, float refResistor)
for example:
Since the input and output variables are single precision, I suggest keeping all intermediary calculations as single precision as well. You get the respective warnings if you turn on -Wdouble-promotion.
The text was updated successfully, but these errors were encountered:
There are several implicit conversions from single precision to double precision happening in
float Adafruit_MAX31865::temperature(float RTDnominal, float refResistor)
for example:
Adafruit_MAX31865/Adafruit_MAX31865.cpp
Line 184 in a551f49
Since the input and output variables are single precision, I suggest keeping all intermediary calculations as single precision as well. You get the respective warnings if you turn on
-Wdouble-promotion
.The text was updated successfully, but these errors were encountered: