diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2015-05-15 10:53:55 +0000 |
---|---|---|
committer | Wilco Dijkstra <wdijkstr@arm.com> | 2015-05-15 11:04:40 +0000 |
commit | 0e9be4db8f655d3dc006c5b101f15a5912a5846f (patch) | |
tree | b03088c533aab59ee41220bd469433d2a2abb527 /stdlib/gmp-impl.h | |
parent | Fix erfcf spurious underflows (bug 18217). (diff) | |
download | glibc-0e9be4db8f655d3dc006c5b101f15a5912a5846f.tar.gz glibc-0e9be4db8f655d3dc006c5b101f15a5912a5846f.tar.bz2 glibc-0e9be4db8f655d3dc006c5b101f15a5912a5846f.zip |
Remove various ABS macros and replace uses with fabs (or in one case abs)
which is more efficient on all targets.
Diffstat (limited to 'stdlib/gmp-impl.h')
-rw-r--r-- | stdlib/gmp-impl.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/stdlib/gmp-impl.h b/stdlib/gmp-impl.h index 314a4b3a29..2cbb21b151 100644 --- a/stdlib/gmp-impl.h +++ b/stdlib/gmp-impl.h @@ -64,7 +64,6 @@ along with the GNU MP Library; see the file COPYING.LIB. If not, see #define inline /* Empty */ #endif -#define ABS(x) (x >= 0 ? x : -x) #ifndef MIN #define MIN(l,o) ((l) < (o) ? (l) : (o)) #endif @@ -74,7 +73,6 @@ along with the GNU MP Library; see the file COPYING.LIB. If not, see /* Field access macros. */ #define SIZ(x) ((x)->_mp_size) -#define ABSIZ(x) ABS (SIZ (x)) #define PTR(x) ((x)->_mp_d) #define EXP(x) ((x)->_mp_exp) #define PREC(x) ((x)->_mp_prec) |