Mercurial > hg > octave-jordi > gnulib-hg
view modules/acosl @ 15943:617d0805c8d8
acosl: Simplify for platforms where 'long double' == 'double'.
* lib/acosl.c (acosl) [HAVE_SAME_LONG_DOUBLE_AS_DOUBLE]: New
alternative implementation.
* m4/acosl.m4 (gl_FUNC_ACOSL): Require gl_LONG_DOUBLE_VS_DOUBLE.
Determine ACOSL_LIBM according to HAVE_SAME_LONG_DOUBLE_AS_DOUBLE.
* modules/acosl (Depends-on): Add acos. Update conditions.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 11 Oct 2011 11:15:25 +0200 |
parents | f31b7f55cb96 |
children |
line wrap: on
line source
Description: acosl() function: inverse cosine function with long double argument. Files: lib/acosl.c m4/acosl.m4 Depends-on: math extensions acos [test $HAVE_ACOSL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] asinl [test $HAVE_ACOSL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] sqrtl [test $HAVE_ACOSL = 0 && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] configure.ac: gl_FUNC_ACOSL if test $HAVE_ACOSL = 0; then AC_LIBOBJ([acosl]) fi gl_MATH_MODULE_INDICATOR([acosl]) Makefile.am: Include: <math.h> Link: $(ACOSL_LIBM) License: LGPL Maintainer: Paolo Bonzini