view modules/mathl @ 40231:9b3c79fdfe0b

strtod: fix clash with strtold Problem reported for RHEL 5 by Jesse Caldwell (Bug#34817). * lib/strtod.c (compute_minus_zero, minus_zero): Simplify by remving the macro / external variable, and having just a function. User changed. This avoids the need for an external variable that might clash.
author Paul Eggert <eggert@cs.ucla.edu>
date Mon, 11 Mar 2019 16:40:29 -0700
parents 14900a007cbc
children
line wrap: on
line source

Description:
C99 functions for transcendental functions with long double arguments.

Files:

Depends-on:
floorl
ceill
acosl
asinl
atanl
cosl
expl
logl
sinl
sqrtl
tanl

configure.ac:
AC_REQUIRE([gl_FUNC_FLOORL])
AC_REQUIRE([gl_FUNC_CEILL])
AC_REQUIRE([gl_FUNC_ACOSL])
AC_REQUIRE([gl_FUNC_ASINL])
AC_REQUIRE([gl_FUNC_ATANL])
AC_REQUIRE([gl_FUNC_COSL])
AC_REQUIRE([gl_FUNC_EXPL])
AC_REQUIRE([gl_FUNC_LOGL])
AC_REQUIRE([gl_FUNC_SINL])
AC_REQUIRE([gl_FUNC_SQRTL])
AC_REQUIRE([gl_FUNC_TANL])
LIBS="$LIBS $FLOORL_LIBM $CEILL_LIBM $ACOSL_LIBM $ASINL_LIBM $ATANL_LIBM $COSL_LIBM $EXPL_LIBM $LOGL_LIBM $SINL_LIBM $SQRTL_LIBM $TANL_LIBM"

Makefile.am:

Include:
<math.h>

License:
GPL

Maintainer:
Paolo Bonzini  <bonzini@gnu.org>