提交 b1cf11c0 编写于 作者: N nsz

math: fix nextafter definition in tgmath.h

上级 5c1909a8
...@@ -230,7 +230,7 @@ sizeof(double) == sizeof(long double) ...@@ -230,7 +230,7 @@ sizeof(double) == sizeof(long double)
#define lrint(x) __tg_real(lrint, (x)) #define lrint(x) __tg_real(lrint, (x))
#define lround(x) __tg_real(lround, (x)) #define lround(x) __tg_real(lround, (x))
#define nearbyint(x) __tg_real(nearbyint, (x)) #define nearbyint(x) __tg_real(nearbyint, (x))
#define nextafter(x,y) __tg_real_2(nextafter, (x), (y) #define nextafter(x,y) __tg_real_2(nextafter, (x), (y))
#define nexttoward(x,y) __tg_real_2(nexttoward, (x), (y)) #define nexttoward(x,y) __tg_real_2(nexttoward, (x), (y))
#define pow(x,y) __tg_real_complex_pow((x), (y)) #define pow(x,y) __tg_real_complex_pow((x), (y))
#define remainder(x,y) __tg_real_2(remainder, (x), (y)) #define remainder(x,y) __tg_real_2(remainder, (x), (y))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册