oh, apparently it's not possible to portably check for string-to-float conversion errors in standard c
this is kinda a sequel-ish to my previous post, in which i go over the math_errhandling macro, and how math error handling is done in glibc and musl (as well as how it's specified in the standard).