etmc/tmLQCD — pull request #42 by deuzeman (2012-01-23 11:02:39+00:00)
Title: C99 complex

This a large set of changes, first of all weeding out all the occurrences of "complex" and "complex32" and replacing them by their C99 counterparts. After that easy part was done, all of the ".re" and ".im" occurrences were found and replaced by "creal()" and "cimag()" where applicable, or completely rewritten in terms of proper complex algebra. All complex defines were replaced by their operator equivalents as well, to make for more readable code.

While this code compiles for me and I am not aware of any concrete errors, it is highly likely that I missed out on one or two problematic cases and the meaning of the code may have subtly changed somewhere. Having unit tests available would be fantastic, but in their absence, I would urge whomever reviews this to be cautious.