aboutsummaryrefslogtreecommitdiff
path: root/include/tgmath.h
Commit message (Collapse)AuthorAgeFilesLines
* Add a workaround to recognise I/_Complex_I as complex arguments. AlthoughStefan Farfeleder2004-09-031-1/+2
| | | | | | | | the GCC manual claims that the expression 1.0fi has type float _Complex, __builtin_types_compatible_p(float _Complex, __typeof__(1.0fi))) yields 0. Notes: svn path=/head/; revision=134736
* Use the keyword '_Complex' rather than the macro 'complex' sinceStefan Farfeleder2004-09-031-4/+4
| | | | | | | applications are allowed to undefine the latter. Notes: svn path=/head/; revision=134735
* Embarrassing typo: s/nextbyint/nearbyint/Stefan Farfeleder2004-09-031-1/+1
| | | | Notes: svn path=/head/; revision=134733
* Implement C99's standard header <tgmath.h>. It provides type-generic macrosStefan Farfeleder2004-08-081-0/+166
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(). Notes: svn path=/head/; revision=133333