crt: Fix setting errno in the strtod based strtof implementation

In this case, strtod will have set errno for cases that were out of
range for doubles. For doubles that were in range, but that are out
of ranges for float, set errno before returning.

Signed-off-by: Martin Storsjö <martin@martin.st>
1 file changed