From a9ab09dfa96bc262d4ad55c12594686a9606b1a4 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Thu, 18 Feb 2016 10:47:15 -0600 Subject: 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 --- newlib/libc/include/complex.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'newlib/libc/include/complex.h') 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 */ -- cgit v1.2.3