3 ms·
Huh? C has had the <tgmath.h> header for 15 years, which lets cos(x) do exactly that, and work on complex types besides.
by stephencanon 12y ago
Huh? C has had the <tgmath.h> header for 15 years, which lets cos(x) do exactly that, and work on complex types besides.
- dalke 12y ago_Generic makes it easy to implement things like tgmath yourself.