dtoastr,ftoastr,ldtoastr: port to c-strtod changes
commit2f6abcc9f5b2d31a6ea032e075fc923d3ed79b0a
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 2 Feb 2019 21:01:55 +0000 (2 13:01 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 2 Feb 2019 21:12:48 +0000 (2 13:12 -0800)
tree6211c7da79c80f5a6b2d786f009073ea260103c3
parentedacea21caa814e54c5d2fbcc586341a937a33d0
dtoastr,ftoastr,ldtoastr: port to c-strtod changes

Decouple these modules from c-strtod.  Nowadays it’s reasonable to
assume the C99 signatures for strtod and strtold.  Programs that
require stricter adherence to C99 should also use the strtod and
strtold modules as needed, and we no longer need the
HAVE_C99_STRTOLD macro.
* NEWS: Mention this.
* lib/ftoastr.c (STRTOF) [LENGTH == 3]: Assume strtold.
* m4/c-strtod.m4 (gl_C_STRTOLD): Do not define HAVE_C99_STRTOLD.
* modules/dtoastr, modules/ftoastr, modules/ldtoastr:
(Files): Remove m4/c-strtod.m4.
(configure.ac): Do not require gl_C99_STRTOLD, which no longer
exists.
ChangeLog
NEWS
lib/ftoastr.c
m4/c-strtod.m4
modules/dtoastr
modules/ftoastr
modules/ldtoastr