projects
/
libm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0f852bf
)
fix fdim in tgmath.h
author
nsz
<nsz@port70.net>
Fri, 9 Mar 2012 14:13:59 +0000
(15:13 +0100)
committer
nsz
<nsz@port70.net>
Fri, 9 Mar 2012 14:13:59 +0000
(15:13 +0100)
include/tgmath.h
patch
|
blob
|
history
diff --git
a/include/tgmath.h
b/include/tgmath.h
index
09edf49
..
6926d0f
100644
(file)
--- 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))