variable, to cope with compilers that think they are smarter than us.
#ifdef LISP_FLOAT_TYPE
if (isfloat_string (read_buffer))
{
+ double zero = 0.0;
double value = atof (read_buffer);
if (read_buffer[0] == '-' && value == 0.0)
value *= -1.0;
if (p[-1] == 'F' || p[-1] == 'N')
{
if (p[-1] == 'N')
- value = 0.0 / 0.0;
+ value = zero / zero;
else if (read_buffer[0] == '-')
- value = -1.0e999;
+ value = - 1.0 / zero;
else
- value = 1.0e999;
+ value = 1.0 / zero;
}
return make_float (value);
}