I'm using snprintf in arduino to print a float to a character *. I'm currently having issues reading the actual value because of some bugs, but thats not the actual question here. The string i am getting is simply containing "?". I was wondering if this is NaN or INF?
example:
char temp[100];
float f; //This float is initialised on some value, but i'm currently not really sure what this value is, but for example 1.23
f = 1.23
snprintf(temp, 100, "%f", f);
temp now simply contains "?".