+ double zero = 0.0;
+ if (1.0 / value != -1.0 / zero || term != (string + 2))
+ return 1;
+ }
+ {
+ /* Many platforms do not parse hex floats. */
+ const char *string = "0XaP+1";
+ char *term;
+ double value = strtod (string, &term);
+ if (value != 20.0 || term != (string + 6))