dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
{
/* In some old versions of Linux (2000 or before), strtod mis-parses
strings with leading '+'. */
{
/* In some old versions of Linux (2000 or before), strtod mis-parses
strings with leading '+'. */
char *term;
double value = strtod (string, &term);
if (value != 69 || term != (string + 4))
char *term;
double value = strtod (string, &term);
if (value != 69 || term != (string + 4))
double value = strtod (string, &term);
double zero = 0.0;
if (1.0 / value != -1.0 / zero || term != (string + 2))
double value = strtod (string, &term);
double zero = 0.0;
if (1.0 / value != -1.0 / zero || term != (string + 2))
char *term;
double value = strtod (string, &term);
if (value != 20.0 || term != (string + 6))
char *term;
double value = strtod (string, &term);
if (value != 20.0 || term != (string + 6))
errno = 0;
value = strtod (string, &term);
if (value != HUGE_VAL || term != (string + 3) || errno)
errno = 0;
value = strtod (string, &term);
if (value != HUGE_VAL || term != (string + 3) || errno)
char *term;
double value = strtod (string, &term);
if (numeric_equal (value, value) || term != (string + 5))
char *term;
double value = strtod (string, &term);
if (numeric_equal (value, value) || term != (string + 5))
char *term;
double value = strtod (string, &term);
if (numeric_equal (value, value) || term != (string + 3))
char *term;
double value = strtod (string, &term);
if (numeric_equal (value, value) || term != (string + 3))
]])],
[gl_cv_func_strtod_works=yes],
[gl_cv_func_strtod_works=no],
]])],
[gl_cv_func_strtod_works=yes],
[gl_cv_func_strtod_works=no],