cvs commit: src/include Makefile tgmath.h

Stefan Farfeleder stefanf at FreeBSD.org
Sun Aug 8 13:10:03 PDT 2004


On Sun, Aug 08, 2004 at 08:05:47PM +0000, Stefan Farfeleder wrote:
>   Log:
>   Implement C99's standard header <tgmath.h>.  It provides type-generic macros
>   for the <math.h> and <complex.h> functions that have float, double and long
>   double implementations.  Such type-generic macros expand to an actual
>   function, depending on the types of the macro arguments, eg. if <tgmath.h>
>   is included, the invocation cos(1.0f) calls the function cosf().

I'll add a man page that lists all macros ASAP.

Stefan


More information about the cvs-src mailing list