[NFC][Coroutines] Use structured binding with llvm::enumerate in CoroSplit (#116879)
[llvm-project.git] / libc / include / llvm-libc-macros / complex-macros.h
blob427c68d289e0bde3090b15de4cf8cd9ccbb89bc4
1 //===-- Definition of macros to be used with complex functions ------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #ifndef __LLVM_LIBC_MACROS_COMPLEX_MACROS_H
10 #define __LLVM_LIBC_MACROS_COMPLEX_MACROS_H
12 #ifndef __STDC_NO_COMPLEX__
14 #define __STDC_VERSION_COMPLEX_H__ 202311L
16 #define complex _Complex
17 #define _Complex_I ((_Complex float)1.0fi)
18 #define I _Complex_I
20 // TODO: Add imaginary macros once GCC or Clang support _Imaginary builtin-type.
22 #endif
24 #endif // __LLVM_LIBC_MACROS_COMPLEX_MACROS_H