cvs commit: src/include Makefile tgmath.h
Stefan Farfeleder
stefanf at FreeBSD.org
Sun Aug 8 13:05:48 PDT 2004
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)
More information about the cvs-src
mailing list