Closed francescofiorenza closed 5 years ago
I decided to set #define NAN as sqrt(-1) instead of #define NAN 0 because a read of the temperature equal to zero is indistinguishable from a fail. It is possible to change also the library?
Hi @francescofiorenza Fix. Used the NAN defination in C99 standard, which can be tested with isnan(x) function.
isnan(x)
I decided to set #define NAN as sqrt(-1) instead of #define NAN 0 because a read of the temperature equal to zero is indistinguishable from a fail. It is possible to change also the library?