6 int main(int argc
, char *argv
[])
14 for (i
= 1; i
< argc
; i
++) {
16 f
= strtof(argv
[i
], &eptr
);
17 f
= nextafterf(f
, INFINITY
);
18 printf("%a (*eptr:%d errno:%d)\n", f
, *eptr
, errno
);
20 d
= strtod(argv
[i
], &eptr
);
21 d
= nextafter(d
, INFINITY
);
22 printf("%a (*eptr:%d errno:%d)\n", d
, *eptr
, errno
);
24 ld
= strtold(argv
[i
], &eptr
);
25 ld
= nextafterl(ld
, INFINITY
);
26 printf("%La (*eptr:%d errno:%d)\n", ld
, *eptr
, errno
);