BZ#13889: expl (709.75) wrongly overflows for ldbl-128ibm
commite42a38dd9dd4bbeb0fbd6e99f35d796ba37b6879
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Fri, 22 Mar 2013 15:39:10 +0000 (22 12:39 -0300)
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Fri, 22 Mar 2013 15:39:10 +0000 (22 12:39 -0300)
tree6d86cd75766421301163df58b8dd3284acb441ad
parent2e0fb52187504fad6657c9462ce650a540d5e387
BZ#13889: expl (709.75) wrongly overflows for ldbl-128ibm

The patch increase the high value to check if expl overflows. Current
high mark value is not really correct, the algorithm accepts high values.
It also adds a correct wrapper function to check for overflow and underflow.
ChangeLog
NEWS
math/libm-test.inc
sysdeps/ieee754/ldbl-128ibm/e_expl.c
sysdeps/ieee754/ldbl-128ibm/w_expl.c