These are strings generated internally by float_to_ascii
To use infinities in calculations and comparisons, it is easiest to create variables holding these values:
float zero=0.0, mzero=-0.0, inf=1/0, minf=-1/0, nan=0/0
NAN cannot be used directly in float comparisons, so its bit-coding must be checked instead:
if ?f=?nan ...
PS: qNAN means quiet NAN. It is not disruptive to FPU operations.