commit | 99ef447d0fe8a11a134b817c9406bc2ce2b84dff | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Jan 12 17:51:20 2022 -0800 |
committer | Elliott Hughes <enh@google.com> | Wed Jan 12 17:52:15 2022 -0800 |
tree | 8c29d7170f83e81a003e4cc44bfca10c09619046 | |
parent | c79b02088b0cc46f13a6c2391526761aa2d49c54 [diff] [blame] |
libm: sync with upstream. There's potential here to maybe lose some/all of builtins.cpp, but I'll look at that separately later. Test: treehugger Change-Id: I2c2bc1d0753affdd214daeb09fa1ac7cd73db347
diff --git a/libm/upstream-freebsd/lib/msun/src/e_hypotl.c b/libm/upstream-freebsd/lib/msun/src/e_hypotl.c index 9189b1f..fc43538 100644 --- a/libm/upstream-freebsd/lib/msun/src/e_hypotl.c +++ b/libm/upstream-freebsd/lib/msun/src/e_hypotl.c
@@ -82,7 +82,7 @@ man_t manh, manl; GET_LDBL_MAN(manh,manl,b); if((manh|manl)==0) return a; - t1=0; + t1=1; SET_HIGH_WORD(t1,ESW(MAX_EXP-2)); /* t1=2^(MAX_EXP-2) */ b *= t1; a *= t1;