diff options
Diffstat (limited to 'math/w_j0l.c')
-rw-r--r-- | math/w_j0l.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/math/w_j0l.c b/math/w_j0l.c index 717253c001..01cd91cdb7 100644 --- a/math/w_j0l.c +++ b/math/w_j0l.c @@ -49,8 +49,11 @@ __y0l (long double x) return __kernel_standard_l (x, x, 209); } else if (x == 0.0L) - /* d = -one/(x-x) */ - return __kernel_standard_l (x, x, 208); + { + /* d = -one/(x-x) */ + feraiseexcept (FE_DIVBYZERO); + return __kernel_standard_l (x, x, 208); + } else if (_LIB_VERSION != _POSIX_) /* y0(x>X_TLOSS) */ return __kernel_standard_l (x, x, 235); |