annotate lib/math.c @ 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 c865ce93b51e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17168
1b3c19ad4b17 math: better 'inline'
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
1 #include <config.h>
1b3c19ad4b17 math: better 'inline'
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
2 #define _GL_MATH_INLINE _GL_EXTERN_INLINE
1b3c19ad4b17 math: better 'inline'
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
3 #include "math.h"
18128
c865ce93b51e binary-io, math, pthread, sys_socket, u64, unistd: port to strict C
Paul Eggert <eggert@cs.ucla.edu>
parents: 17168
diff changeset
4 typedef int dummy;