annotate modules/copysign @ 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
12750
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
15908
2f40da163bc2 copysign: Provide replacement.
Bruno Haible <bruno@clisp.org>
parents: 13510
diff changeset
2 copysign() function: copy sign into another 'double' number.
12750
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 Files:
15908
2f40da163bc2 copysign: Provide replacement.
Bruno Haible <bruno@clisp.org>
parents: 13510
diff changeset
5 lib/copysign.c
2f40da163bc2 copysign: Provide replacement.
Bruno Haible <bruno@clisp.org>
parents: 13510
diff changeset
6 m4/copysign.m4
12750
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 m4/mathfunc.m4
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 Depends-on:
15908
2f40da163bc2 copysign: Provide replacement.
Bruno Haible <bruno@clisp.org>
parents: 13510
diff changeset
10 math
2f40da163bc2 copysign: Provide replacement.
Bruno Haible <bruno@clisp.org>
parents: 13510
diff changeset
11 signbit [test $HAVE_COPYSIGN = 0]
12750
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13 configure.ac:
15908
2f40da163bc2 copysign: Provide replacement.
Bruno Haible <bruno@clisp.org>
parents: 13510
diff changeset
14 gl_FUNC_COPYSIGN
2f40da163bc2 copysign: Provide replacement.
Bruno Haible <bruno@clisp.org>
parents: 13510
diff changeset
15 if test $HAVE_COPYSIGN = 0; then
2f40da163bc2 copysign: Provide replacement.
Bruno Haible <bruno@clisp.org>
parents: 13510
diff changeset
16 AC_LIBOBJ([copysign])
2f40da163bc2 copysign: Provide replacement.
Bruno Haible <bruno@clisp.org>
parents: 13510
diff changeset
17 fi
2f40da163bc2 copysign: Provide replacement.
Bruno Haible <bruno@clisp.org>
parents: 13510
diff changeset
18 gl_MATH_MODULE_INDICATOR([copysign])
12750
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 Makefile.am:
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 Include:
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 <math.h>
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 Link:
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26 $(COPYSIGN_LIBM)
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28 License:
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
29 LGPL
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
30
6b4859a7c820 New modules for common <math.h> functions.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
31 Maintainer:
17713
1f14c6dd175d Bruno Haible has stepped down as maintainer.
Paul Eggert <eggert@cs.ucla.edu>
parents: 15908
diff changeset
32 all