diff options
Diffstat (limited to 'newlib/libm/math/wf_log10.c')
-rw-r--r-- | newlib/libm/math/wf_log10.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libm/math/wf_log10.c b/newlib/libm/math/wf_log10.c index 728913500..41dd93a7b 100644 --- a/newlib/libm/math/wf_log10.c +++ b/newlib/libm/math/wf_log10.c @@ -54,7 +54,7 @@ if (_LIB_VERSION == _POSIX_) errno = ERANGE; else if (!matherr(&exc)) { - errno = EDOM; + errno = ERANGE; } } else { /* log10f(x<0) */ |