Mercurial > hg > octave-nkf > gnulib-hg
comparison modules/expl @ 16620:4a578c3945b8
New module 'exp2l'.
* lib/math.in.h (exp2l): New declaration.
* lib/exp2l.c: New file.
* lib/expl-table.c: New file, extracted from lib/expl.c.
* lib/expl.c (gl_expl_table): New declaration.
(expl): Remove expl_table. Update reference.
* m4/exp2l.m4: New file.
* m4/math_h.m4 (gl_MATH_H): Test whether exp2l is declared.
(gl_MATH_H_DEFAULTS): Initialize GNULIB_EXP2L, HAVE_DECL_EXP2L.
* modules/math (Makefile.am): Substitute GNULIB_EXP2L, HAVE_DECL_EXP2L.
* modules/exp2l: New file.
* modules/expl (Files): Add lib/expl-table.c.
(configure.ac): Compile also expl-table.c.
* tests/test-math-c++.cc: Check the declaration of exp2l.
* doc/posix-functions/exp2l.texi: Mention the new module and the IRIX
problem.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 09 Mar 2012 01:13:40 +0100 |
parents | 6c7c671909d3 |
children | 1f14c6dd175d |
comparison
equal
deleted
inserted
replaced
16619:a249e5e18fa4 | 16620:4a578c3945b8 |
---|---|
1 Description: | 1 Description: |
2 expl() function: exponential function with long double argument. | 2 expl() function: exponential function with long double argument. |
3 | 3 |
4 Files: | 4 Files: |
5 lib/expl.c | 5 lib/expl.c |
6 lib/expl-table.c | |
6 m4/expl.m4 | 7 m4/expl.m4 |
7 | 8 |
8 Depends-on: | 9 Depends-on: |
9 math | 10 math |
10 extensions | 11 extensions |
16 | 17 |
17 configure.ac: | 18 configure.ac: |
18 gl_FUNC_EXPL | 19 gl_FUNC_EXPL |
19 if test $HAVE_EXPL = 0; then | 20 if test $HAVE_EXPL = 0; then |
20 AC_LIBOBJ([expl]) | 21 AC_LIBOBJ([expl]) |
22 AC_LIBOBJ([expl-table]) | |
21 fi | 23 fi |
22 gl_MATH_MODULE_INDICATOR([expl]) | 24 gl_MATH_MODULE_INDICATOR([expl]) |
23 | 25 |
24 Makefile.am: | 26 Makefile.am: |
25 | 27 |