Browse Source

math: fix nextafter definition in tgmath.h

nsz 12 years ago
parent
commit
b1cf11c090
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/tgmath.h

+ 1 - 1
include/tgmath.h

@@ -230,7 +230,7 @@ sizeof(double) == sizeof(long double)
 #define lrint(x)        __tg_real(lrint, (x))
 #define lround(x)       __tg_real(lround, (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 pow(x,y)        __tg_real_complex_pow((x), (y))
 #define remainder(x,y)  __tg_real_2(remainder, (x), (y))