projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make arch __set_thread_area backends hidden
[oweals/musl.git]
/
include
/
complex.h
diff --git
a/include/complex.h
b/include/complex.h
index bdddf87bbd312e1a901a7c529c4fa42ccbd02e1a..008b3c7e3b7d6190cb864892aa7b2bad3f1aa2cf 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