diff options
author | Joseph Myers <joseph@codesourcery.com> | 2017-10-03 21:01:33 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2017-10-03 21:01:33 +0000 |
commit | 7f1cbdf8ed6e5266d3d5807329d2d110cf695b79 (patch) | |
tree | 3e6586c0116c914acc6d70333713e1318b065818 /sysdeps | |
parent | 39793865ec91775b4bf6e487c3e83b0d79517771 (diff) | |
download | glibc-7f1cbdf8ed6e5266d3d5807329d2d110cf695b79.zip glibc-7f1cbdf8ed6e5266d3d5807329d2d110cf695b79.tar.gz glibc-7f1cbdf8ed6e5266d3d5807329d2d110cf695b79.tar.bz2 |
Use libm_alias_float for dbl-64 fmaf.
This patch makes the implementation of fmaf in the dbl-64 directory
use libm_alias float.
Tested for x86_64, and verified with build-many-glibcs.py that
installed stripped shared libraries are unchanged by this patch.
* sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
[!__fmaf] (fmaf): Define using libm_alias_float.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/ieee754/dbl-64/s_fmaf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/ieee754/dbl-64/s_fmaf.c b/sysdeps/ieee754/dbl-64/s_fmaf.c index e6c0fed..4426c09 100644 --- a/sysdeps/ieee754/dbl-64/s_fmaf.c +++ b/sysdeps/ieee754/dbl-64/s_fmaf.c @@ -21,6 +21,7 @@ #include <fenv.h> #include <ieee754.h> #include <math_private.h> +#include <libm-alias-float.h> /* This implementation relies on double being more than twice as precise as float and uses rounding to odd in order to avoid problems @@ -60,5 +61,5 @@ __fmaf (float x, float y, float z) return (float) u.d; } #ifndef __fmaf -weak_alias (__fmaf, fmaf) +libm_alias_float (__fma, fma) #endif |