mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
Update from Gnulib
This incorporates: 2019-02-02 dtoastr, ftoastr, ldtoastr: port to c-strtod changes 2019-02-01 c-strtod, c-strtold: use the bug fixes 2019-01-30 strtold: New module * doc/misc/texinfo.tex, lib/ftoastr.c, lib/regexec.c, lib/stdlib.in.h: * m4/stdlib_h.m4: Copy from Gnulib. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate. * m4/c-strtod.m4: Remove.
This commit is contained in:
parent
6f52478e0c
commit
adc31c6bdc
9 changed files with 54 additions and 94 deletions
|
|
@ -40,9 +40,7 @@
|
|||
# define FLOAT_PREC_BOUND _GL_LDBL_PREC_BOUND
|
||||
# define FTOASTR ldtoastr
|
||||
# define PROMOTED_FLOAT long double
|
||||
# if HAVE_C99_STRTOLD
|
||||
# define STRTOF strtold
|
||||
# endif
|
||||
# define STRTOF strtold
|
||||
#elif LENGTH == 2
|
||||
# define FLOAT double
|
||||
# define FLOAT_DIG DBL_DIG
|
||||
|
|
@ -63,7 +61,7 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
/* On pre-C99 hosts, approximate strtof and strtold with strtod. This
|
||||
/* On pre-C99 hosts, approximate strtof with strtod. This
|
||||
may generate one or two extra digits, but that's better than not
|
||||
working at all. */
|
||||
#ifndef STRTOF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue