8138823: Correct bug in port of fdlibm hypot to Java

Reviewed-by: bpb
This commit is contained in:
Joe Darcy 2015-10-06 18:39:26 -07:00
parent d12b5c154b
commit f674b491a6
4 changed files with 254 additions and 9 deletions

View file

@ -182,7 +182,7 @@ class FdLibm {
}
int k = 0;
if (a > 0x1.0p500) { // a > 2**500
if (a > 0x1.00000_ffff_ffffp500) { // a > ~2**500
// scale a and b by 2**-600
ha -= 0x25800000;
hb -= 0x25800000;