oh, apparently it's not possible to portably check for string-to-float conversion errors in standard c (by seb) — discussion

#c