From: nsz Date: Fri, 9 Mar 2012 14:13:59 +0000 (+0100) Subject: fix fdim in tgmath.h X-Git-Url: http://nsz.repo.hu/git/?p=libm;a=commitdiff_plain;h=ae446c7aae62c294a202e0d9ab3b48e4c2cdd6e4;hp=0f852bf005b848dd513f186e151b3319eccd2c6a fix fdim in tgmath.h --- diff --git a/include/tgmath.h b/include/tgmath.h index 09edf49..6926d0f 100644 --- a/include/tgmath.h +++ b/include/tgmath.h @@ -105,7 +105,7 @@ without __GNUC__ the return type is always long double [complex] #define exp2(x) __tg_real(exp2, (x)) #define expm1(x) __tg_real(expm1, (x)) #define fabs(x) __tg_real_complex_fabs(x) -#define fdim(x) __tg_real(fdim, (x)) +#define fdim(x,y) __tg_real_2(fdim, (x), (y)) #define floor(x) __tg_real(floor, (x)) #define fma(x,y,z) __tg_real_fma((x), (y), (z)) #define fmax(x,y) __tg_real_2(fmax, (x), (y))