annotate modules/truncl @ 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 1f14c6dd175d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9287
ec7800681aff New module 'truncl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
ec7800681aff New module 'truncl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 truncl() function: round towards zero.
ec7800681aff New module 'truncl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
ec7800681aff New module 'truncl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 Files:
ec7800681aff New module 'truncl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 lib/truncl.c
ec7800681aff New module 'truncl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 lib/trunc.c
ec7800681aff New module 'truncl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 m4/truncl.m4
ec7800681aff New module 'truncl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8
ec7800681aff New module 'truncl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 Depends-on:
ec7800681aff New module 'truncl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 math
ec7800681aff New module 'truncl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 extensions
15926
23d150bba2eb truncl: Simplify for platforms where 'long double' == 'double'.
Bruno Haible <bruno@clisp.org>
parents: 15009
diff changeset
12 trunc [{ test $HAVE_DECL_TRUNCL = 0 || test $REPLACE_TRUNCL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1]
23d150bba2eb truncl: Simplify for platforms where 'long double' == 'double'.
Bruno Haible <bruno@clisp.org>
parents: 15009
diff changeset
13 float [{ test $HAVE_DECL_TRUNCL = 0 || test $REPLACE_TRUNCL = 1; } && test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0]
9287
ec7800681aff New module 'truncl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14
ec7800681aff New module 'truncl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 configure.ac:
ec7800681aff New module 'truncl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 gl_FUNC_TRUNCL
15009
2917eb19f982 truncl: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
17 if test $HAVE_DECL_TRUNCL = 0 || test $REPLACE_TRUNCL = 1; then
2917eb19f982 truncl: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
18 AC_LIBOBJ([truncl])
2917eb19f982 truncl: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
19 fi
9287
ec7800681aff New module 'truncl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 gl_MATH_MODULE_INDICATOR([truncl])
ec7800681aff New module 'truncl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21
ec7800681aff New module 'truncl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 Makefile.am:
ec7800681aff New module 'truncl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23
ec7800681aff New module 'truncl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 Include:
ec7800681aff New module 'truncl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 <math.h>
ec7800681aff New module 'truncl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26
ec7800681aff New module 'truncl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27 Link:
ec7800681aff New module 'truncl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28 $(TRUNCL_LIBM)
ec7800681aff New module 'truncl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
29
ec7800681aff New module 'truncl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
30 License:
ec7800681aff New module 'truncl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
31 LGPL
ec7800681aff New module 'truncl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
32
ec7800681aff New module 'truncl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
33 Maintainer:
17713
1f14c6dd175d Bruno Haible has stepped down as maintainer.
Paul Eggert <eggert@cs.ucla.edu>
parents: 15926
diff changeset
34 all