projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mq_notify: block all (application) signals in the worker thread
[musl]
/
include
/
complex.h
diff --git
a/include/complex.h
b/include/complex.h
index
bdddf87
..
008b3c7
100644
(file)
--- a/
include/complex.h
+++ b/
include/complex.h
@@
-7,9
+7,9
@@
extern "C" {
#define complex _Complex
#ifdef __GNUC__
#define complex _Complex
#ifdef __GNUC__
-#define _Complex_I (__extension__
1.0fi
)
+#define _Complex_I (__extension__
(0.0f+1.0fi)
)
#else
#else
-#define _Complex_I
1.0fi
+#define _Complex_I
(0.0f+1.0fi)
#endif
#define I _Complex_I
#endif
#define I _Complex_I
@@
-116,7
+116,7
@@
long double creall(long double complex);
#if __STDC_VERSION__ >= 201112L
#if defined(_Imaginary_I)
#if __STDC_VERSION__ >= 201112L
#if defined(_Imaginary_I)
-#define __CMPLX(x, y, t) ((t)(x) + _Imaginary_I*(t)(y))
)
+#define __CMPLX(x, y, t) ((t)(x) + _Imaginary_I*(t)(y))
#elif defined(__clang__)
#define __CMPLX(x, y, t) (+(_Complex t){ (t)(x), (t)(y) })
#else
#elif defined(__clang__)
#define __CMPLX(x, y, t) (+(_Complex t){ (t)(x), (t)(y) })
#else