]> sourceware.org Git - glibc.git/commit
math: Simplify hypotf implementation
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 5 Apr 2021 17:49:47 +0000 (14:49 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 13 Dec 2021 12:02:30 +0000 (09:02 -0300)
commit7fe0ace3e289c88cab5014cef94e946fd695221f
treee632319b2e03c36e85271d8561c9a7b1019de232
parent5afe4c0d6903027bf7835da4711a9f75b750a64d
math: Simplify hypotf implementation

Use a more optimized comparison for check for NaN and infinite and
add an inlined issignaling implementation for float.  With gcc it
results in 2 FP comparisons.

The file Copyright is also changed to use  GPL, the implementation was
completely changed by 7c10fd3515f to use double precision instead of
scaling and this change removes all the GET_FLOAT_WORD usage.

Checked on x86_64-linux-gnu.
sysdeps/ieee754/flt-32/e_hypotf.c
sysdeps/ieee754/flt-32/math_config.h
This page took 0.040443 seconds and 5 git commands to generate.