Skip to content
  • Karl Wette's avatar
    Allow LAL code to begin to use C99 complex datatypes · 25cb256f
    Karl Wette authored and Adam Mercer's avatar Adam Mercer committed
     * A ./configure macro checks that memory layout of C99/C++ complex types
       are identical to the old LAL complex structs. If true, each .c file can
       then chose which complex datatype to use - C99 or LAL - while being
       able to call code defined in another .c file which may have used a
       different complex datatype internally.
     * If LAL_USE_OLD_COMPLEX_STRUCTS macro is not defined (i.e. by default),
       use C99 complex datatypes. Define macros for constructing C99/C++
       complex numbers, and accessing/assigning real and imaginary parts.
       Macros use some GCC extensions where available.
    Original: ba26dab7e236328ebe597d8be7320d21c5be67eb
    25cb256f