Andreas Schwab wrote: >Yes, Inf and NaN are both in range, but not finite. > > Ah, ok, now I see. You mean when INF, INFINITY and so on are parsed, sscanf does *not* set errno, indeed. I forgot that, my bad. Thanks again, Paolo.