view modules/expm1f @ 16583:258b00af8457

New module 'expm1f'. * lib/math.in.h (expm1f): New declaration. * lib/expm1f.c: New file. * m4/expm1f.m4: New file. * m4/math_h.m4 (gl_MATH_H): Test whether expm1f is declared. (gl_MATH_H_DEFAULTS): Initialize GNULIB_EXPM1F, HAVE_EXPM1F. * modules/math (Makefile.am): Substitute GNULIB_EXPM1F, HAVE_EXPM1F. * modules/expm1f: New file. * tests/test-math-c++.cc: Check the declaration of expm1f. * doc/posix-functions/expm1f.texi: Mention the new module.
author Bruno Haible <bruno@clisp.org>
date Tue, 06 Mar 2012 21:24:28 +0100
parents
children d71dacc1f7e0
line wrap: on
line source

Description:
expm1f() function: exponential function minus one.

Files:
lib/expm1f.c
m4/expm1f.m4

Depends-on:
math
extensions
expm1           [test $HAVE_EXPM1F = 0]

configure.ac:
gl_FUNC_EXPM1F
if test $HAVE_EXPM1F = 0; then
  AC_LIBOBJ([expm1f])
fi
gl_MATH_MODULE_INDICATOR([expm1f])

Makefile.am:

Include:
<math.h>

Link:
$(EXPM1F_LIBM)

License:
LGPL

Maintainer:
Bruno Haible