[RFC] tgmath.h and math/Makefile refactor
Paul E. Murphy
murphyp@linux.vnet.ibm.com
Fri Jun 3 21:03:00 GMT 2016
These are two separate smaller patches, inching towards the goal of
supporting more FP types in libm.
I spent some time trying to figure out tgmath.h, and how it might look
with support for arbitrary types. It assumes __builtin_types_compatible_p
and Statement Expr's are supported by GCC (I'm not sure when these were
added). These macros might make a good basis for supporting the
classification macros in math.h.
The potential Makefile changes by comparison are rather self-explanatory.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-RFC-Refactor-math-Makefile.patch
Type: text/x-patch
Size: 11811 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160603/403074ce/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-RFC-Rewrite-tgmath.h-helper-macros.patch
Type: text/x-patch
Size: 12381 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160603/403074ce/attachment-0001.bin>
More information about the Libc-alpha
mailing list