Complex Numbers in Modern C Programming
摘要
In this chapter, we explain complex number data type used in C programming. Complex numbers are frequently used in electrical and computer engineering applications. Complex number header file is available in C language since the release of C99 standard, and it is included in C11, C17, and C23 standards. The C language provides powerful tools for the calculation of operations involving complex numbers. For instance, trigonometric operations involving complex numbers, such as sine of a complex number, can be easily done using built-in functions in C libraries.