[cfe-dev] tgmath.h

Javier Múgica javier_3 at runbox.com
Tue Jun 9 01:14:13 PDT 2015


I have made some changes to tgmath.h. There could be seen repetitive definitions, so I defined some macros in order to add some structure there and make the file smaller and, in my opinion, more readable. I also added a test to see if the implementatinos suports complex numbers and surrounded the code that uses those types under the corresponding #ifdef #endif.

That way tgmath can be used with, say, VS 2010, which is the one I am using, so far without any problem.

If nobody spots a bug in the following days I may upload the file, is it right?


Javier A. Múgica
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tgmath.h
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150609/0048a4f3/attachment.h>

More information about the cfe-dev mailing list