I also think ERANGE should be checked as the function is not just parsing string but converts to double. It somewhat promises, if ```parsedOk=true``` then no error conditions occur, doesn't it?
Unless, we consider values like ```1.#INF000000000000``` should be returned as valid result.