diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-09-15 17:24:23 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-09-15 17:24:23 +0000 |
commit | 694aabefd2eb3a0e2c5624d7feb1d7310b2bdd8b (patch) | |
tree | e53ee8681fc6863277423922a1832087a23c456d /nis | |
parent | 828bf6828b048b1482e95f84ca92e5fe0edcdc0c (diff) | |
download | glibc-694aabefd2eb3a0e2c5624d7feb1d7310b2bdd8b.tar.gz glibc-694aabefd2eb3a0e2c5624d7feb1d7310b2bdd8b.tar.xz glibc-694aabefd2eb3a0e2c5624d7feb1d7310b2bdd8b.zip |
Simplify hypotf infinity handling (bug 15918).
Bug 15918 points out that the handling of infinities in hypotf can be simplified: it's enough to return the absolute value of the infinite argument without first comparing it to the other argument and possibly returning that other argument's absolute value. This patch makes that cleanup (which should not change how hypotf behaves on any input). Tested for x86_64. [BZ #15918] * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify handling of cases where one argument is an infinity.
Diffstat (limited to 'nis')
0 files changed, 0 insertions, 0 deletions