mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Remove various ABS macros and replace uses with fabs (or in one case abs)
which is more efficient on all targets.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user