Date: Sun, 8 Aug 2004 20:05:47 +0000 (UTC) From: Stefan Farfeleder <stefanf@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/include Makefile tgmath.h Message-ID: <200408082005.i78K5lDQ023077@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
stefanf 2004-08-08 20:05:47 UTC FreeBSD src repository Modified files: include Makefile Added files: include tgmath.h 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(). Revision Changes Path 1.219 +2 -1 src/include/Makefile 1.1 +166 -0 src/include/tgmath.h (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408082005.i78K5lDQ023077>