[cfe-commits] [PATCH] 2 fixes for tgmath.h

Kristof Beyls kristof.beyls at arm.com
Thu Feb 23 10:30:10 PST 2012


The attached 2 patches each fix one issue in the lib/Headers/tgmath.h header
file:

* tgmath_logb.patch implements the missing logb function (see C99 standard
7.22, paragraph 5).
* tgmath_fabs_complex.patch corrects the return types for the complex fabs
functions. These must be non-complex float/double/long double (see C99
standard 7.22, paragraph 4 and 7.3.8.1)

Could someone review and commit the patches if fine?

Thanks,

Kristof
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tgmath_logb.patch
Type: application/octet-stream
Size: 625 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120223/37fc73f9/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tgmath_fabs_complex.patch
Type: application/octet-stream
Size: 621 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120223/37fc73f9/attachment-0001.obj>


More information about the cfe-commits mailing list