math: fix nextafter definition in tgmath.h
authornsz <nsz@port70.net>
Mon, 28 May 2012 20:55:03 +0000 (22:55 +0200)
committernsz <nsz@port70.net>
Mon, 28 May 2012 20:55:03 +0000 (22:55 +0200)
include/tgmath.h

index a181ef00dcc5bdd4b92bf2f61401d174368dfeba..5b65e21ff9262909509fdc871ba4abf600ca83ff 100644 (file)
@@ -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))