diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2011-10-20 21:14:49 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2011-10-20 21:14:49 +0000 |
commit | 36981b17ed939300f6f8fc2355a255f711fcef71 (patch) | |
tree | ee2483e98b09cac943dc93a6969d83ca737ff139 /lib/Headers/tgmath.h | |
parent | 180abc3db9ae3b4fc63cd65b15697e6ffcc8a657 (diff) |
Notes
Diffstat (limited to 'lib/Headers/tgmath.h')
-rw-r--r-- | lib/Headers/tgmath.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Headers/tgmath.h b/lib/Headers/tgmath.h index e1a00236781a2..1b0b9d24c1d52 100644 --- a/lib/Headers/tgmath.h +++ b/lib/Headers/tgmath.h @@ -1049,19 +1049,18 @@ static long double static float _TG_ATTRS - __tg_nexttoward(float __x, float __y) {return nexttowardf(__x, __y);} + __tg_nexttoward(float __x, long double __y) {return nexttowardf(__x, __y);} static double _TG_ATTRS - __tg_nexttoward(double __x, double __y) {return nexttoward(__x, __y);} + __tg_nexttoward(double __x, long double __y) {return nexttoward(__x, __y);} static long double _TG_ATTRS __tg_nexttoward(long double __x, long double __y) {return nexttowardl(__x, __y);} #undef nexttoward -#define nexttoward(__x, __y) __tg_nexttoward(__tg_promote2((__x), (__y))(__x), \ - __tg_promote2((__x), (__y))(__y)) +#define nexttoward(__x, __y) __tg_nexttoward(__tg_promote1((__x))(__x), (__y)) // remainder |