fixed typo

This commit is contained in:
ceriel
1988-07-25 12:30:52 +00:00
parent 59412cb405
commit b34adc2dda
3 changed files with 3 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ exp(x)
return M_MIN_D;
}
if (x >= M_LN_MAX_D) {
if (x < M_LN_MAX_D) errno = ERANGE;
if (x > M_LN_MAX_D) errno = ERANGE;
return M_MAX_D;
}