summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/complex.h
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2016-02-18 10:47:15 -0600
committerYaakov Selkowitz <yselkowi@redhat.com>2016-02-22 14:43:41 -0600
commita9ab09dfa96bc262d4ad55c12594686a9606b1a4 (patch)
tree3b10aba662ce37bb609e59b13b05b22403a79b27 /newlib/libc/include/complex.h
parent4fa84f10eca1f824649ca23cda57066bd085d4a0 (diff)
downloadcygnal-a9ab09dfa96bc262d4ad55c12594686a9606b1a4.tar.gz
cygnal-a9ab09dfa96bc262d4ad55c12594686a9606b1a4.tar.bz2
cygnal-a9ab09dfa96bc262d4ad55c12594686a9606b1a4.zip
libm/complex: add clog10, clog10f
newlib/ * libc/include/complex.h (clog10, clog10f): Declare. * libm/complex/Makefile.am (src): Add clog10.c. (fsrc): Add clog10f.c. (CHEWOUT_FILES): Add clog10.def. * libm/complex/Makefile.in: Regenerate. * libm/complex/clog10.c: New file. * libm/complex/clog10f.c: New file. * libm/complex/complex.tex: Add references to clog10 docs. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/include/complex.h')
-rw-r--r--newlib/libc/include/complex.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/newlib/libc/include/complex.h b/newlib/libc/include/complex.h
index c3ae3cff8..3150f3423 100644
--- a/newlib/libc/include/complex.h
+++ b/newlib/libc/include/complex.h
@@ -120,6 +120,11 @@ double creal(double complex);
float crealf(float complex);
long double creall(long double complex);
+#if __GNU_VISIBLE
+double complex clog10(double complex);
+float complex clog10f(float complex);
+#endif
+
__END_DECLS
#endif /* ! _COMPLEX_H */