musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat
-rw-r--r--include/complex.h 2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/complex.h b/include/complex.h
index 23bab7d5..bdddf87b 100644
--- a/include/complex.h
+++ b/include/complex.h
@@ -103,7 +103,7 @@ long double creall(long double complex);
#ifndef __cplusplus
#define __CIMAG(x, t) \
- ((union { _Complex t __z; t __xy[2]; }){(_Complex t)(x)}.__xy[1])
+ (+(union { _Complex t __z; t __xy[2]; }){(_Complex t)(x)}.__xy[1])
#define creal(x) ((double)(x))
#define crealf(x) ((float)(x))
generated by cgit v1.2.1 (git 2.18.0) at 2025年10月08日 22:29:59 +0000

AltStyle によって変換されたページ (->オリジナル) /