Whatever data type the variable gas_resistance is, it cannot accomodate the value NAN which is used when a floating point number cannot be held in the data tyoe used.
In this case, it can probably be ignored. I imagine the code is initialising the variable with a “not used yet” type of value which will be overwritten when the gas sensor is used.