X-Git-Url: http://nsz.repo.hu/git/?p=libm;a=blobdiff_plain;f=src%2Fcmath%2Fccosf.c;fp=src%2Fcmath%2Fccosf.c;h=9b72c4f472eb9bdce3038074effeafc7ebcb7896;hp=0000000000000000000000000000000000000000;hb=5718e964d8a5c273a91b4d86d16926f54151c58f;hpb=1305df184d9d04274ce170864c92af8cbeae23e2 diff --git a/src/cmath/ccosf.c b/src/cmath/ccosf.c new file mode 100644 index 0000000..9b72c4f --- /dev/null +++ b/src/cmath/ccosf.c @@ -0,0 +1,6 @@ +#include "libm.h" + +float complex ccosf(float complex z) +{ + return ccoshf(cpackf(-cimagf(z), crealf(z))); +}