Home | History | Annotate | only in /src/lib/libc/gdtoa
History log of /src/lib/libc/gdtoa
RevisionDateAuthorComments
 1.15 07-Jun-2024  riastradh libc: Pacify lint on aarch64.
 1.14 13-May-2024  rillig libc/hdtoa: suppress lint warning about possible accuracy loss

on sparc64: hdtoa.c(340): warning: conversion from 'unsigned long'
to 'char' may lose accuracy [132]
 1.13 07-Oct-2023  rin Drop -O[01] hacks for vax; no longer necessary for patched GCC 10

PR port-vax/57646: Import major vax toolchain fix by Kalvis Duckmanton

XXXRO: GCC 12 may require hacks for a while, but it turned out that
GCC 12 should be treated differently from older versions; a lot of new
files need -O[01] flags, while some may no longer require it.

I will take a look later.

Note that these hacks are not required if Kalvis's patches for GCC 12
are applied.

Keep doc/HACKS entries for a while (will be sync with update for GCC 12).

diff --git a/crypto/external/bsd/openssh/lib/Makefile b/crypto/external/bsd/openssh/lib/Makefile
index 96a93f5e396..4e38be1b642 100644
--- a/crypto/external/bsd/openssh/lib/Makefile
+++ b/crypto/external/bsd/openssh/lib/Makefile
@@ -117,12 +117,6 @@ COPTS.${f}.c+= -Wno-pointer-sign
# XXX
COPTS.channels.c+= -fno-strict-aliasing

-# XXX
-.if ${MACHINE} == "vax"
-COPTS.poly1305.c+= -O0
-COPTS.umac.c+= -O0
-.endif
-
COPTS.hostfile.c+= ${CC_WNO_FORMAT_TRUNCATION}
COPTS.sshkey.c+= ${CC_WNO_FORMAT_TRUNCATION}
COPTS.cipher.c+= -Wno-error=deprecated-declarations
diff --git a/distrib/utils/x_ping/Makefile b/distrib/utils/x_ping/Makefile
index f1c452a0d60..8ee77580a3f 100644
--- a/distrib/utils/x_ping/Makefile
+++ b/distrib/utils/x_ping/Makefile
@@ -12,10 +12,6 @@ CPPFLAGS+= -I${SRCDIR} -DCRUNCHOPS
DPADD= ${LIBM}
LDADD= -lm

-.if ${MACHINE_ARCH} == "vax"
-COPTS.ping.c=-O0
-.endif
-
.include <bsd.prog.mk>

.PATH: ${SRCDIR}
diff --git a/external/apache2/argon2/lib/libargon2/Makefile.inc b/external/apache2/argon2/lib/libargon2/Makefile.inc
index d3f4470c6c7..6a1dd146d7d 100644
--- a/external/apache2/argon2/lib/libargon2/Makefile.inc
+++ b/external/apache2/argon2/lib/libargon2/Makefile.inc
@@ -16,7 +16,3 @@ CFLAGS+= -pthread
LDADD+=-lpthread
DPADD+=${LIBPTHREAD}
.endif
-
-.if ${MACHINE} == "vax"
-COPTS.blake2b.c+= -O0
-.endif
diff --git a/external/bsd/jemalloc/lib/Makefile.inc b/external/bsd/jemalloc/lib/Makefile.inc
index 2f524358f46..d5da774f293 100644
--- a/external/bsd/jemalloc/lib/Makefile.inc
+++ b/external/bsd/jemalloc/lib/Makefile.inc
@@ -53,12 +53,6 @@ COPTS.ctl.c+=-Wno-error=stack-protector
COPTS.stats.c+=-Wno-error=stack-protector
COPTS.tcache.c+=-Wno-error=stack-protector

-.if ${MACHINE_ARCH} == "vax"
-# in merge_overlapping_regs, at regrename.c
-COPTS.arena.c+=-O0
-COPTS.extent.c+=-O0
-.endif
-
SRCS+=${JEMALLOC_SRCS}

jemalloc.d jemalloc.pico jemalloc.o jemalloc.ln jemalloc.po jemalloc.go: \
diff --git a/external/bsd/mdocml/lib/libmandoc/Makefile b/external/bsd/mdocml/lib/libmandoc/Makefile
index 40d7e29ae88..dfd3077a2c7 100644
--- a/external/bsd/mdocml/lib/libmandoc/Makefile
+++ b/external/bsd/mdocml/lib/libmandoc/Makefile
@@ -39,11 +39,6 @@ tbl_opts.c

MAN= mandoc.3

-# XXX
-.if ${MACHINE} == "vax"
-COPTS.mdoc_macro.c+=-O0
-.endif
-
COPTS.man_validate.c+=-Wno-error=array-bounds

.include <bsd.lib.mk>
diff --git a/external/gpl3/binutils.old/lib/libbfd/Makefile b/external/gpl3/binutils.old/lib/libbfd/Makefile
index 03477232b55..74a354532fa 100644
--- a/external/gpl3/binutils.old/lib/libbfd/Makefile
+++ b/external/gpl3/binutils.old/lib/libbfd/Makefile
@@ -41,10 +41,6 @@ CPPFLAGS+= -I${.CURDIR}/arch/${BFD_MACHINE_ARCH} -I${DIST}/include -I. \
-DDEBUGDIR=\"${DEBUGDIR}\" -DLIBDIR=\"${LIBDIR}\" \
-DBINDIR=\"${BINDIR}\"

-.if (${BFD_MACHINE_ARCH} == "vax")
-CPPFLAGS.elf.c += -O0
-.endif
-
COPTS.pei-x86_64.c+= -Wno-stack-protector
COPTS.elfxx-mips.c+= -Wno-stack-protector
COPTS.elf.c+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 10:? -Wno-overflow :}
diff --git a/external/gpl3/binutils/lib/libbfd/Makefile b/external/gpl3/binutils/lib/libbfd/Makefile
index 00cb2b20081..a3f0c25fd35 100644
--- a/external/gpl3/binutils/lib/libbfd/Makefile
+++ b/external/gpl3/binutils/lib/libbfd/Makefile
@@ -41,10 +41,6 @@ CPPFLAGS+= -I${.CURDIR}/arch/${BFD_MACHINE_ARCH} -I${DIST}/include -I. \
-DDEBUGDIR=\"${DEBUGDIR}\" -DLIBDIR=\"${LIBDIR}\" \
-DBINDIR=\"${BINDIR}\"

-.if (${BFD_MACHINE_ARCH} == "vax")
-CPPFLAGS.elf.c += -O0
-.endif
-
COPTS.pei-x86_64.c+= -Wno-stack-protector
COPTS.elfxx-mips.c+= -Wno-stack-protector
COPTS.elf.c+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 10:? -Wno-overflow :}
diff --git a/external/gpl3/gcc.old/lib/Makefile.sanitizer b/external/gpl3/gcc.old/lib/Makefile.sanitizer
index efd36ae4bee..5173a5109a0 100644
--- a/external/gpl3/gcc.old/lib/Makefile.sanitizer
+++ b/external/gpl3/gcc.old/lib/Makefile.sanitizer
@@ -88,22 +88,3 @@ COPTS+=-fno-builtin -fno-exceptions -fno-rtti -funwind-tables

# Can't profile without it`
#-fomit-frame-pointer
-
-.if ${MACHINE_ARCH} == "vax"
-COPTS.sanitizer_allocator.cc += -O1
-COPTS.sanitizer_common.cc += -O1
-COPTS.sanitizer_common_libcdep.cc += -O1
-COPTS.sanitizer_coverage_libcdep.cc += -O1
-COPTS.sanitizer_coverage_mapping_libcdep.cc += -O1
-COPTS.sanitizer_deadlock_detector1.cc += -O1
-COPTS.sanitizer_mac.cc += -O1
-COPTS.sanitizer_netbsd.cc += -O1
-COPTS.sanitizer_posix.cc += -O1
-COPTS.sanitizer_printf.cc += -O1
-COPTS.sanitizer_procmaps_common.cc += -O1
-COPTS.sanitizer_stackdepot.cc += -O1
-COPTS.sanitizer_symbolizer_libcdep.cc += -O1
-COPTS.sanitizer_symbolizer_report.cc += -O1
-COPTS.ubsan_diag.cc += -O1
-COPTS.ubsan_init.cc += -O1
-.endif
diff --git a/external/gpl3/gcc.old/lib/libasan/Makefile b/external/gpl3/gcc.old/lib/libasan/Makefile
index 1e6f9608abe..3da7bbf2f58 100644
--- a/external/gpl3/gcc.old/lib/libasan/Makefile
+++ b/external/gpl3/gcc.old/lib/libasan/Makefile
@@ -49,14 +49,6 @@ LIBDPLIBS+= m ${NETBSDSRCDIR}/lib/libm
LIBDPLIBS+= pthread ${NETBSDSRCDIR}/lib/libpthread
CPPFLAGS+=-DCAN_SANITIZE_UB=0

-.if ${MACHINE_ARCH} == "vax"
-COPTS.asan_allocator.cc += -O1
-COPTS.asan_report.cc += -O1
-COPTS.sanitizer_file.cc += -O1
-COPTS.ubsan_diag.cc += -O1
-COPTS.ubsan_init.cc += -O1
-.endif
-
.if ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb"
COPTS.asan_interceptors.cc += -O1
.endif
diff --git a/external/gpl3/gcc.old/lib/liblsan/Makefile b/external/gpl3/gcc.old/lib/liblsan/Makefile
index 4578544a9a8..ddb7981077c 100644
--- a/external/gpl3/gcc.old/lib/liblsan/Makefile
+++ b/external/gpl3/gcc.old/lib/liblsan/Makefile
@@ -16,11 +16,6 @@ LSAN_SRCS+= \
lsan_linux.cc \
lsan_thread.cc

-.if ${MACHINE_ARCH} == "vax"
-COPTS.lsan_allocator.cc += -O1
-COPTS.sanitizer_file.cc += -O1
-.endif
-
LIB= lsan
SRCS+= ${LSAN_SRCS}
LIBDPLIBS+= m ${NETBSDSRCDIR}/lib/libm
diff --git a/external/gpl3/gcc.old/lib/libubsan/Makefile b/external/gpl3/gcc.old/lib/libubsan/Makefile
index 2e2faca7b1c..9de82550d14 100644
--- a/external/gpl3/gcc.old/lib/libubsan/Makefile
+++ b/external/gpl3/gcc.old/lib/libubsan/Makefile
@@ -26,10 +26,6 @@ UBSAN_SRCS= \
COPTS.${_s}.cc+=-frtti
.endfor

-.if ${MACHINE_ARCH} == "vax"
-COPTS.sanitizer_file.cc += -O1
-.endif
-
LIB= ubsan
SRCS+= ${UBSAN_SRCS}
LIBDPLIBS+= m ${NETBSDSRCDIR}/lib/libm
diff --git a/external/gpl3/gcc.old/usr.bin/cc1/Makefile b/external/gpl3/gcc.old/usr.bin/cc1/Makefile
index c55e292ee8e..ff12a5be524 100644
--- a/external/gpl3/gcc.old/usr.bin/cc1/Makefile
+++ b/external/gpl3/gcc.old/usr.bin/cc1/Makefile
@@ -46,17 +46,6 @@ CPPFLAGS.default-c.c+= -I${BACKENDOBJ}
BUILDSYMLINKS+= ${GNUHOSTDIST}/gcc/config/sh/sh-c.cc sh-c.c
.endif

-.if ${MACHINE_CPU} == "vax"
-COPTS.c-decl.c+=-O0
-COPTS.c-typeck.c+=-O0
-COPTS.c-array-notation.c+=-O0
-COPTS.c-common.c+=-O0
-COPTS.c-ada-spec.c+=-O0
-COPTS.cilk.c+=-O0
-COPTS.c-ubsan.c+=-O0
-COPTS.cc1-checksum.c+=-O0
-.endif
-
.if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
COPTS.c-common.c+=-O3
.endif
diff --git a/external/gpl3/gcc.old/usr.bin/cc1obj/Makefile b/external/gpl3/gcc.old/usr.bin/cc1obj/Makefile
index 3123ee0d60b..aab82ad3448 100644
--- a/external/gpl3/gcc.old/usr.bin/cc1obj/Makefile
+++ b/external/gpl3/gcc.old/usr.bin/cc1obj/Makefile
@@ -44,16 +44,8 @@ COPTS.objc-act.c+= -Wno-stack-protector
COPTS.objc-gnu-runtime-abi-01.c+= -Wno-stack-protector
COPTS.objc-next-runtime-abi-01.c+= -Wno-stack-protector

-.if ${MACHINE_ARCH} == "vax"
-COPTS.c-decl.c+=-O0
-COPTS.c-typeck.c+=-O0
-COPTS.c-array-notation.c+=-O0
-COPTS.c-common.c+=-O0
-COPTS.c-ada-spec.c+=-O0
-COPTS.cilk.c+=-O0
-COPTS.c-ubsan.c+=-O0
-COPTS.cc1obj-checksum.c+=-O0
-.endif
+COPTS.c-cppbuiltin.c+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=format-overflow :}
+COPTS.c-typeck.c+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=format-overflow :}

.if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
COPTS.c-common.c+=-O3
diff --git a/external/gpl3/gcc.old/usr.bin/cc1objplus/Makefile b/external/gpl3/gcc.old/usr.bin/cc1objplus/Makefile
index b9c108251c5..e04e8fc7f53 100644
--- a/external/gpl3/gcc.old/usr.bin/cc1objplus/Makefile
+++ b/external/gpl3/gcc.old/usr.bin/cc1objplus/Makefile
@@ -69,18 +69,6 @@ COPTS.objc-act.c+= -Wno-stack-protector
COPTS.objc-gnu-runtime-abi-01.c+= -Wno-stack-protector
COPTS.objc-next-runtime-abi-01.c+= -Wno-stack-protector

-.if ${MACHINE_ARCH} == "vax"
-COPTS.c-decl.c+=-O0
-COPTS.c-typeck.c+=-O0
-COPTS.c-array-notation.c+=-O0
-COPTS.c-common.c+=-O0
-COPTS.c-ada-spec.c+=-O0
-COPTS.cilk.c+=-O0
-COPTS.c-ubsan.c+=-O0
-COPTS.cc1obj-checksum.c+=-O0
-COPTS.decl.c+=-O0
-.endif
-
.if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
COPTS.c-common.c+=-O3
.endif
diff --git a/external/gpl3/gcc.old/usr.bin/cc1plus/Makefile b/external/gpl3/gcc.old/usr.bin/cc1plus/Makefile
index 7936efd3a5e..7c54559e21a 100644
--- a/external/gpl3/gcc.old/usr.bin/cc1plus/Makefile
+++ b/external/gpl3/gcc.old/usr.bin/cc1plus/Makefile
@@ -31,23 +31,6 @@ CHECKSUM_OBJS= ${LIBBACKTRACEOBJ}/libbacktrace.a \

CFLAGS+= -Wno-error=stack-protector

-.if ${MACHINE_ARCH} == "vax"
-COPTS.call.c+=-O0
-COPTS.decl.c+=-O0
-COPTS.typeck2.c+=-O0
-COPTS.class.c+=-O0
-COPTS.typeck.c+=-O0
-COPTS.init.c+=-O0
-COPTS.semantics.c+=-O0
-COPTS.mangle.c+=-O0
-COPTS.constexpr.c+=-O0
-COPTS.c-common.c+=-O0
-COPTS.c-ada-spec.c+=-O0
-COPTS.cilk.c+=-O0
-COPTS.c-ubsan.c+=-O0
-COPTS.cc1plus-checksum.c+=-O0
-.endif
-
.if ${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel"
COPTS.c-common.c+=-O3
.endif
diff --git a/external/gpl3/gcc.old/usr.bin/gcc/Makefile b/external/gpl3/gcc.old/usr.bin/gcc/Makefile
index 7a66d77ffc7..a5a4b1c3adf 100644
--- a/external/gpl3/gcc.old/usr.bin/gcc/Makefile
+++ b/external/gpl3/gcc.old/usr.bin/gcc/Makefile
@@ -25,9 +25,6 @@ ${SRCS}: ${GCCARCH}/defs.mk
.include <bsd.info.mk>

COPTS.gcc.c= -Wno-stack-protector
-.if ${MACHINE_ARCH} == "vax"
-COPTS.dse.c= -O1
-.endif

.PATH: ${DIST}/gcc ${DIST}/gcc/doc ${DIST}/gcc/c

diff --git a/external/gpl3/gcc.old/usr.bin/libdecnumber/Makefile b/external/gpl3/gcc.old/usr.bin/libdecnumber/Makefile
index 751d1513eec..33aeb1c9898 100644
--- a/external/gpl3/gcc.old/usr.bin/libdecnumber/Makefile
+++ b/external/gpl3/gcc.old/usr.bin/libdecnumber/Makefile
@@ -14,10 +14,6 @@ SRCS= decNumber.c decContext.c decimal32.c decimal64.c decimal128.c
CPPFLAGS+= -I${.CURDIR}/arch/${GCC_MACHINE_ARCH} -I${DIST}/libdecnumber
CPPFLAGS+= -I${DIST}/libgcc

-.if ${MACHINE_ARCH} == "vax"
-COPTS.decNumber.c=-O0
-.endif
-
.include <bsd.lib.mk>

# Force using C++ for this
diff --git a/external/gpl3/gcc.old/usr.bin/lto-dump/Makefile b/external/gpl3/gcc.old/usr.bin/lto-dump/Makefile
index 90f44a9fcf6..fd251464fb7 100644
--- a/external/gpl3/gcc.old/usr.bin/lto-dump/Makefile
+++ b/external/gpl3/gcc.old/usr.bin/lto-dump/Makefile
@@ -24,11 +24,6 @@ COPTS.lto-common.c+= -Wno-stack-protector
.include "../Makefile.backtrace"
.include "../Makefile.libdecnumber"

-.if ${MACHINE_ARCH} == "vax"
-COPTS.lto-lang.c+=-O0
-COPTS.lto-symtab.c+=-O0
-.endif
-
LDADD+= ${LIBIBERTY} ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
DPADD+= ${LIBIBERTY} ${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}

diff --git a/external/gpl3/gcc.old/usr.bin/lto1/Makefile b/external/gpl3/gcc.old/usr.bin/lto1/Makefile
index 4c49161a64c..340d3c6124f 100644
--- a/external/gpl3/gcc.old/usr.bin/lto1/Makefile
+++ b/external/gpl3/gcc.old/usr.bin/lto1/Makefile
@@ -21,11 +21,6 @@ COPTS.lto-common.c+= -Wno-stack-protector
.include "../Makefile.libcpp"
.include "../Makefile.libdecnumber"

-.if ${MACHINE_ARCH} == "vax"
-COPTS.lto-lang.c+=-O0
-COPTS.lto-symtab.c+=-O0
-.endif
-
LDADD+= ${LIBIBERTYOBJ}/libiberty.a
DPADD+= ${LIBIBERTYOBJ}/libiberty.a
LDADD+= ${LIBIBERTY} ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
diff --git a/external/gpl3/gdb.old/lib/libdecnumber/Makefile b/external/gpl3/gdb.old/lib/libdecnumber/Makefile
index bcd4ae5b222..ce28811526b 100644
--- a/external/gpl3/gdb.old/lib/libdecnumber/Makefile
+++ b/external/gpl3/gdb.old/lib/libdecnumber/Makefile
@@ -18,10 +18,6 @@ CPPFLAGS+= -I${.CURDIR}/arch/${GDB_MACHINE_ARCH} \

SRCS= ${G_OBJS:.o=.c} ${G_SOURCES}

-.if ${MACHINE_ARCH} == "vax"
-COPTS.decNumber.c=-O0
-.endif
-
.PATH: ${DIST}/libdecnumber ${DIST}/libdecnumber/dpd

.include <bsd.lib.mk>
diff --git a/external/gpl3/gdb/lib/libdecnumber/Makefile b/external/gpl3/gdb/lib/libdecnumber/Makefile
index c95d36e3dfa..e3169865304 100644
--- a/external/gpl3/gdb/lib/libdecnumber/Makefile
+++ b/external/gpl3/gdb/lib/libdecnumber/Makefile
@@ -18,10 +18,6 @@ CPPFLAGS+= -I${.CURDIR}/arch/${GDB_MACHINE_ARCH} \

SRCS= ${G_OBJS:.o=.c} ${G_SOURCES}

-.if ${MACHINE_ARCH} == "vax"
-COPTS.decNumber.c=-O0
-.endif
-
.PATH: ${DIST}/libdecnumber ${DIST}/libdecnumber/dpd ${DIST}/libdecnumber/bid

.include <bsd.lib.mk>
diff --git a/external/gpl3/gdb/lib/libgdb/Makefile b/external/gpl3/gdb/lib/libgdb/Makefile
index b87a515d13a..c118c363975 100644
--- a/external/gpl3/gdb/lib/libgdb/Makefile
+++ b/external/gpl3/gdb/lib/libgdb/Makefile
@@ -66,12 +66,6 @@ CFLAGS:= ${CXXFLAGS} -std=gnu++17 -Wno-error=stack-protector

ada-exp.c: ada-lex.c

-.if ${MACHINE} == "vax"
-. if ${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 8
-COPTS.read.c+= -O0
-. endif
-.endif
-
# These are generated by implicit rules and are not easy to generate
CLEANDIRFILES+= \
ada-exp.c ada-lex.c \
diff --git a/external/mit/xorg/lib/gallium.old/Makefile b/external/mit/xorg/lib/gallium.old/Makefile
index 55b2fe3d1c1..bfa40c8974f 100644
--- a/external/mit/xorg/lib/gallium.old/Makefile
+++ b/external/mit/xorg/lib/gallium.old/Makefile
@@ -1211,10 +1211,6 @@ SYMLINKS+= gallium_dri.so.${SHLIB_MAJOR}.debug ${DRIDEBUGDIR}/${_d}_dri.so.${SHL
COPTS+= ${${ACTIVE_CC} == "clang":? -Wa,-Av8plus :}
.endif

-.if ${MACHINE_ARCH} == "vax"
-COPTS.nir.c += -O1
-.endif
-
# XXXGCC12
.if ${MACHINE_ARCH} == "m68k"
COPTS.st_glsl_to_tgsi.cpp += -O1
diff --git a/external/mit/xorg/lib/gallium/Makefile b/external/mit/xorg/lib/gallium/Makefile
index 6778a8c11c8..9f1422080fe 100644
--- a/external/mit/xorg/lib/gallium/Makefile
+++ b/external/mit/xorg/lib/gallium/Makefile
@@ -1428,10 +1428,6 @@ SYMLINKS+= gallium_dri.so.${SHLIB_MAJOR}.debug ${DRIDEBUGDIR}/${_d}_dri.so.${SHL
COPTS+= ${${ACTIVE_CC} == "clang":? -Wa,-Av8plus :}
.endif

-.if ${MACHINE_ARCH} == "vax"
-COPTS.nir.c += -O1
-.endif
-
COPTS.u_atomic.c+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 10:? -Wno-builtin-declaration-mismatch :}

.include <bsd.lib.mk>
diff --git a/external/mit/xorg/lib/libX11/Makefile.libx11 b/external/mit/xorg/lib/libX11/Makefile.libx11
index e103d9ace12..0e55c2a4732 100644
--- a/external/mit/xorg/lib/libX11/Makefile.libx11
+++ b/external/mit/xorg/lib/libX11/Makefile.libx11
@@ -471,11 +471,6 @@ COPTS.OpenDis.c+= -Wno-error # XXX xf86bigfstr.h
COPTS.XlibInt.c+= -Wno-error # XXX xcmiscstr.h
COPTS.XKBBind.c+= -Wno-deprecated-declarations # uses XKeycodeToKeysym

-# XXX
-.if ${MACHINE} == "vax"
-COPTS.lcWrap.c+= -O0
-.endif
-
CWARNFLAGS.clang+= -Wno-string-plus-int

.include "${NETBSDSRCDIR}/external/mit/xorg/tools/makekeys/Makefile.makekeys"
diff --git a/games/gomoku/Makefile b/games/gomoku/Makefile
index e86a63aaea7..678537066ed 100644
--- a/games/gomoku/Makefile
+++ b/games/gomoku/Makefile
@@ -9,10 +9,6 @@ LDADD= -lcurses -lterminfo
HIDEGAME=hidegame
CPPFLAGS+= ${DEBUG:D-DDEBUG}

-.if ${MACHINE} == "vax"
-COPTS.pickmove.c += -O0
-.endif
-
#WARNS= 6 # would produce warnings about small integer types
LINTFLAGS+= -w # treat warnings as errors
LINTFLAGS+= -T # strict bool mode
diff --git a/games/phantasia/Makefile b/games/phantasia/Makefile
index e9c53f23ae5..b919dac17c6 100644
--- a/games/phantasia/Makefile
+++ b/games/phantasia/Makefile
@@ -52,7 +52,3 @@ map: map.c
./map | plot > /dev/tty

.include <bsd.prog.mk>
-
-.if defined(HAVE_GCC) && ${MACHINE_ARCH} == "vax"
-COPTS.misc.c+= -O0
-.endif
diff --git a/lib/i18n_module/UTF7/Makefile b/lib/i18n_module/UTF7/Makefile
index 712c1515d42..7136f7f0cc3 100644
--- a/lib/i18n_module/UTF7/Makefile
+++ b/lib/i18n_module/UTF7/Makefile
@@ -3,6 +3,3 @@
SRCPRE=citrus_
.include <bsd.lib.mk>

-.if ${MACHINE_ARCH} == "vax" && defined(HAVE_GCC)
-COPTS.citrus_utf7.c+= -O0
-.endif
diff --git a/lib/libbz2/Makefile b/lib/libbz2/Makefile
index b2aea1e04b0..e60a2862d48 100644
--- a/lib/libbz2/Makefile
+++ b/lib/libbz2/Makefile
@@ -15,11 +15,6 @@ SRCS= blocksort.c huffman.c crctable.c randtable.c compress.c \
INCS= bzlib.h
INCSDIR= /usr/include

-# XXX huffman.c gets mis-compiled with 2.95.3
-.if ${MACHINE_ARCH} == "vax"
-COPTS+= -O0
-.endif
-
COPTS+= ${CC_WNO_IMPLICIT_FALLTHROUGH}

# XXX blocksort.c gets mis-compiled with 4.1
diff --git a/lib/libc/gdtoa/Makefile.inc b/lib/libc/gdtoa/Makefile.inc
index 132686fc33d..609da919803 100644
--- a/lib/libc/gdtoa/Makefile.inc
+++ b/lib/libc/gdtoa/Makefile.inc
@@ -44,10 +44,3 @@ SRCS+= dmisc.c \
.if ${MACHINE_ARCH} != "vax"
SRCS+= strtord.c
.endif
-
-# XXX revisit with newer GCC.
-# Ensure numbers like 0xffff319f5fa95963 print correctly
-# ("999999999999999.98", not garbage like "?A>C>@>C:BA;A><.:<")
-.if ${MACHINE_ARCH} == "vax" && defined(HAVE_GCC)
-COPTS.misc.c+= -O0
-.endif
diff --git a/lib/libcrypt/Makefile b/lib/libcrypt/Makefile
index cb3f89d6d09..e9c8be820da 100644
--- a/lib/libcrypt/Makefile
+++ b/lib/libcrypt/Makefile
@@ -30,9 +30,6 @@ SRCS+= crypt-argon2.c
SRCS+= ${src}
COPTS.${src}+= -fvisibility=hidden
. endfor
-. if ${MACHINE} == "vax"
-COPTS.blake2b.c+= -O0
-. endif
.endif

WARNS?= 5
diff --git a/libexec/ld.elf_so/Makefile b/libexec/ld.elf_so/Makefile
index f5baae1e883..24f7e1121e5 100644
--- a/libexec/ld.elf_so/Makefile
+++ b/libexec/ld.elf_so/Makefile
@@ -141,10 +141,6 @@ CPPFLAGS+= -DRTLD_DEFAULT_LIBRARY_PATH=\"${SHLIBDIR}:${LIBDIR}\"
COPTS.rtld.c+= -Wno-stack-protector
COPTS.symbol.c+=-Wno-stack-protector

-.if ${MACHINE_CPU} == "vax"
-COPTS.rtld.c+= -O0
-.endif
-
LDADD+= -Wl,--version-script=${.CURDIR}/symbols.map
LDADD+= -L${CLIBOBJ} -L${DESTDIR}${LIBDIR}
.if ${MKPICLIB} != "no"
diff --git a/sbin/fsck_ffs/Makefile.common b/sbin/fsck_ffs/Makefile.common
index 765638b2801..824e3bf2628 100644
--- a/sbin/fsck_ffs/Makefile.common
+++ b/sbin/fsck_ffs/Makefile.common
@@ -36,7 +36,3 @@ COPTS.ffs_appleufs.c+= -Wno-pointer-sign
.if ${MACHINE_ARCH} == "m68000"
COPTS.pass1.c+= -fno-tree-fre -fno-tree-lrs
.endif
-.if ${MACHINE_ARCH} == "vax"
-COPTS.pass1.c+= -O0
-COPTS.inode.c+= -O0
-.endif
diff --git a/sbin/fsdb/Makefile b/sbin/fsdb/Makefile
index c039f73a1eb..3b0331e5880 100644
--- a/sbin/fsdb/Makefile
+++ b/sbin/fsdb/Makefile
@@ -39,12 +39,6 @@ COPTS.${f}.c+= -Wno-pointer-sign
COPTS.pass1.c+= -fno-tree-fre -fno-tree-lrs
.endif

-.if ${MACHINE_ARCH} == "vax"
-COPTS.pass1.c+= -O0
-COPTS.inode.c+= -O0
-COPTS.fsdb.c+= -O0
-.endif
-
CWARNFLAGS.gcc+= ${CC_WNO_ADDRESS_OF_PACKED_MEMBER}

.include <bsd.prog.mk>
diff --git a/sbin/newfs_ext2fs/Makefile b/sbin/newfs_ext2fs/Makefile
index 40a44b9a038..ecfdbff4d3a 100644
--- a/sbin/newfs_ext2fs/Makefile
+++ b/sbin/newfs_ext2fs/Makefile
@@ -20,8 +20,4 @@ DPADD+=${LIBPROP}

.PATH: ${NETBSDSRCDIR}/sys/ufs/ext2fs ${FSCK}

-.if ${MACHINE_ARCH} == "vax"
-COPTS.mke2fs.c=-O0
-.endif
-
.include <bsd.prog.mk>
diff --git a/sbin/ping/Makefile b/sbin/ping/Makefile
index 4f33501ea7a..1f7f56e3ea5 100644
--- a/sbin/ping/Makefile
+++ b/sbin/ping/Makefile
@@ -12,8 +12,4 @@ CPPFLAGS+= -DIPSEC
LDADD+= -lipsec
DPADD+= ${LIBIPSEC}

-.if ${MACHINE_ARCH} == "vax"
-COPTS.ping.c=-O0
-.endif
-
.include <bsd.prog.mk>
diff --git a/sys/arch/vax/conf/Makefile.vax b/sys/arch/vax/conf/Makefile.vax
index cf095d54a86..c483eaa644a 100644
--- a/sys/arch/vax/conf/Makefile.vax
+++ b/sys/arch/vax/conf/Makefile.vax
@@ -34,7 +34,6 @@ GENASSYM_CONF= ${VAX}/vax/genassym.cf
CPPFLAGS+= -D_VAX_INLINE_
AFLAGS+= -x assembler-with-cpp -fno-pic
CFLAGS+= -fno-pic
-COPTS.wsmux.c+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 9:? -O1 :}


##
diff --git a/sys/lib/libsa/Makefile b/sys/lib/libsa/Makefile
index 718c97ce857..4ef3840c753 100644
--- a/sys/lib/libsa/Makefile
+++ b/sys/lib/libsa/Makefile
@@ -96,7 +96,3 @@ SRCS+= ufs.c
lib${LIB}.o:: ${OBJS:O} __buildstdlib

CPPFLAGS+= -Wno-pointer-sign
-
-.if defined(HAVE_GCC) && ${MACHINE_ARCH} == "vax"
-COPTS.bootp.c+= -O0
-.endif
diff --git a/sys/lib/libz/Makefile b/sys/lib/libz/Makefile
index 6945c0da6c6..61fb7d4f652 100644
--- a/sys/lib/libz/Makefile
+++ b/sys/lib/libz/Makefile
@@ -25,7 +25,3 @@ CLEANFILES+= lib${LIB}.o
.include <bsd.lib.mk>

lib${LIB}.o:: ${OBJS:O} __buildstdlib
-
-.if defined(HAVE_GCC) && ${MACHINE_ARCH} == "vax"
-COPTS.inftrees.c+= -O0
-.endif
diff --git a/sys/modules/lfs/Makefile b/sys/modules/lfs/Makefile
index 962538821a5..ea8f187e160 100644
--- a/sys/modules/lfs/Makefile
+++ b/sys/modules/lfs/Makefile
@@ -18,9 +18,4 @@ SRCS+= ulfs_bmap.c ulfs_dirhash.c ulfs_inode.c ulfs_lookup.c \

WARNS= 3

-.if ${MACHINE} == "vax"
-# GCC 6.5 and 7.4 cannot compile this with -DDIAGNOSTIC and -O2/-O1
-COPTS.lfs_inode.c+= -O0
-.endif
-
.include <bsd.kmodule.mk>
diff --git a/sys/rump/fs/lib/liblfs/Makefile b/sys/rump/fs/lib/liblfs/Makefile
index abade3767d9..68b74c62502 100644
--- a/sys/rump/fs/lib/liblfs/Makefile
+++ b/sys/rump/fs/lib/liblfs/Makefile
@@ -17,9 +17,6 @@ SRCS+= ulfs_bmap.c ulfs_dirhash.c ulfs_extattr.c \


CFLAGS+= -DLFS_KERNEL_RFW
-.if ${MACHINE_ARCH} == "vax"
-COPTS.lfs_inode.c+=-O0
-.endif

.include <bsd.lib.mk>
.include <bsd.klinks.mk>
diff --git a/usr.sbin/mtrace/Makefile b/usr.sbin/mtrace/Makefile
index aef09db6198..9c125c15265 100644
--- a/usr.sbin/mtrace/Makefile
+++ b/usr.sbin/mtrace/Makefile
@@ -12,10 +12,6 @@ PROG= mtrace
SRCS= igmp.c inet.c kern.c mtrace.c
MAN= mtrace.8

-.if ${MACHINE_ARCH} == "vax"
-COPTS.mtrace.c=-O0
-.endif
-
BINMODE=4555
BINOWN= root

diff --git a/external/gpl3/gcc.old/usr.bin/backend/Makefile b/external/gpl3/gcc.old/usr.bin/backend/Makefile
index d69a26fe619..99e881c783d 100644
--- a/external/gpl3/gcc.old/usr.bin/backend/Makefile
+++ b/external/gpl3/gcc.old/usr.bin/backend/Makefile
@@ -533,68 +533,9 @@ COPTS.insn-recog.c+=-Wno-error

.if ${GCC_MACHINE_ARCH} == "vax"
CPPFLAGS+=-I${.CURDIR}/../../lib/libgcc/libgcov/arch/${GCC_MACHINE_ARCH}
-COPTS.builtins.c+=-O0
-COPTS.calls.c+=-O0
-COPTS.convert.c+=-O0
-COPTS.data-streamer-out.c+=-O0
-COPTS.dse.c+=-O0 # XXX port-vax/51967
-COPTS.dwarf2out.c+=-O0
-COPTS.expmed.c+=-O0
-COPTS.expr.c+=-O0 -Wno-error=tautological-compare
-COPTS.fixed-value.c+=-O0
-COPTS.fold-const.c+=-O0
-COPTS.generic-match.c+=-O0
-COPTS.gimple-fold.c+=-O0
-COPTS.gimple-match.c+=-O0
-COPTS.gimple-ssa-strength-reduction.c+=-O0
-COPTS.gimple-ssa-warn-restrict.c+=-O0
-COPTS.gimple.c+=-O0
-COPTS.internal-fn.c+=-O0
-COPTS.lto-streamer-out.c+=-O0
-COPTS.omp-low.c+=-O0
-COPTS.predict.c+=-O0
-COPTS.range-op.cc+=-O0
-COPTS.recog.c+=-O0
-COPTS.sanopt.c+=-O0
-COPTS.stmt.c+=-O0
-COPTS.stor-layout.c+=-O0
-COPTS.targhooks.c+=-O0
-COPTS.tree-affine.c+=-O0
-COPTS.tree-cfg.c+=-O0
-COPTS.tree-data-ref.c+=-O0
-COPTS.tree-eh.c+=-O0
-COPTS.tree-if-conv.c+=-O0
-COPTS.tree-object-size.c+=-O0
-COPTS.tree-parloops.c+=-O0
-COPTS.tree-predcom.c+=-O0
-COPTS.tree-pretty-print.c+=-O0
-COPTS.tree-ssa-alias.c+=-O0
-COPTS.tree-ssa-ccp.c+=-O0
-COPTS.tree-ssa-forwprop.c+=-O0
-COPTS.tree-ssa-loop-ivopts.c+=-O0
-COPTS.tree-ssa-loop-manip.c+=-O0
-COPTS.tree-ssa-loop-niter.c+=-O0
-COPTS.tree-ssa-math-opts.c+=-O0
-COPTS.tree-ssa-phiopt.c+= -O0
-COPTS.tree-ssa-pre.c+=-O0
-COPTS.tree-ssa-reassoc.c+=-O0
-COPTS.tree-ssa-strlen.c+=-O0
-COPTS.tree-ssa-uninit.c+=-O0
-COPTS.tree-ssa.c+=-O0
-COPTS.tree-switch-conversion.c+=-O0
-COPTS.tree-vect-data-refs.c+=-O0
-COPTS.tree-vect-loop-manip.c+=-O0
-COPTS.tree-vect-loop.c+=-O0
-COPTS.tree-vect-patterns.c+=-O0
-COPTS.tree-vect-stmts.c+=-O0
-COPTS.tree-vrp.c+=-O0
-COPTS.tree.c+=-O0
-COPTS.ubsan.c+=-O0
-COPTS.varasm.c+=-O0
-COPTS.vr-values.c+=-O0
-COPTS.web.c+=-O0
-COPTS.wide-int-range.cc+=-O0
-COPTS.wide-int.cc+=-O0
+
+COPTS.expmed.c+=-Wno-error=tautological-compare
+COPTS.expr.c+=-Wno-error=tautological-compare
.else
COPTS.tree.c= ${${ACTIVE_CC} == "clang" :? -O0 :}
.endif
 1.12 04-Dec-2022  jakllsch branches: 1.12.2;
On VAX, compile gdtoa/misc.c at -O0 to avoid incorrect machine code
resulting in some doubles printing as garbage.
 1.11 01-Aug-2019  riastradh Honour the floating-point rounding mode in floating-point formatting.

C99, Sec. 7.19.6.1 `The fprintf function', paragraph 13, p. 281:

(Recommended practice)

For e, E, f, F, g, and G conversions, if the number of significant
decimal digits is at most DECIMAL_DIG, then the result should be
correctly rounded. If the number of significant decimal digits is
more than DECIMAL_DIG but the source value is exactly
representable with DECIMAL_DIG digits, then the result should be
an exact representation with trailing zeros. Otherwise, the
source value is bounded by two adjacent decimal strings L < U,
both having DECIMAL_DIG significant idgits; the value of the
resultant decimal string D should satisfy L <= D <= U, _with the
extra stipulation that the error should have a correct sign for
the current rounding direction_. [emphasis added]

The gdtoa code base already supports respecting the floating-point
rounding mode, as long as we compile it with Honor_FLT_ROUNDS
defined. However, for this to work, fegetround must be available in
libc, which it is not currently -- the fenv logic is in libm.

Fortunately, we don't have to move all of fenv from libm to libc --
programs that do not link against libm don't have fesetround, so the
rounding mode is always the default (barring asm shenanigans that
bypass the API -- tough). So use a weak reference to fegetround; by
default, assume FE_TONEAREST if it is not defined.
 1.10 16-Jan-2014  christos branches: 1.10.26; 1.10.28;
"soon" is "now". Remove all __indr_reference crap.
 1.9 19-Apr-2013  joerg Add libc/locale to the search path.
 1.8 09-Feb-2008  mrg branches: 1.8.28; 1.8.34;
make all sun2 use -O0 and move most of the hacks out into just 3 files.
 1.7 05-Feb-2008  mrg make sun2 build again with liberal use of -O0.
 1.6 08-Apr-2007  scw Remove support for NetBSD/{,evb}sh5.
 1.5 02-Feb-2007  christos add the new files to the build. Note I am not bumping libc now, because
these are not used yet.
 1.4 15-Mar-2006  kleink branches: 1.4.4;
Add strtof(3) and strtold(3); welcome libc 12.137.
 1.3 16-Feb-2006  christos - s/notyet/WIDE_DOUBLE/
- Add a little more glue for WIDE_DOUBLE; not done yet.
- s/def FLOATING_POINT/ndef NO_FLOATING_POINT/ to reduce diffs with FreeBSD.
- fix memory leak where each double formatted leaked 24 by calling __freedtoa()
appropriately. the new gdtoa keeps a list of memory chunks allocated by
malloc(), and it must maintained properly by calling __freedtoa() on the
results of __dtoa() Hi Klaus!
- in vfwprintf() make cvt return char * and convert it using __mbsconv(),
instead of having it return wchar_t *.

This should fix the memory leaks people have been reporting (eg. in top etc.)
 1.2 31-Jan-2006  scw Workaround for a gcc-3.3.3 ICE compiling strtod.c for sh5.
Reported by skrll@
 1.1 25-Jan-2006  kleink Drop in gdtoa as a replacement for dtoa, strtod() from stdlib/strtod.c.
 1.4.4.2 19-Jul-2007  liamjfoy Pull up following revision(s) (requested by soren in ticket #774):
build.sh: revision 1.169
gnu/usr.bin/gcc4/backend/Makefile: revision 1.9
sys/arch/evbsh5/README: revision 1.1
distrib/notes/common/contents: revision 1.124
usr.sbin/ndbootd/ndbootd.c: revision 1.12
gnu/lib/libopcodes/arch/sh3eb/defs.mk: revision 1.4
gnu/lib/libbfd/arch/sh3eb/defs.mk: revision 1.8
libexec/ld.elf_so/Makefile: revision 1.78
gnu/dist/binutils/bfd/config.bfd: revision 1.14
doc/HACKS: revision 1.93
distrib/cdrom/current.conf: revision 1.8
gnu/lib/libgcc4/Makefile.inc: revision 1.6
share/mk/sys.mk: revision 1.90
distrib/sets/lists/base/mi: revision 1.700
libexec/ld.elf_so/rtld.c: revision 1.112
distrib/sets/lists/base/mi: revision 1.702
sys/arch/sh5/README: revision 1.1
gnu/lib/libbfd/arch/sh3el/bfd.h: revision 1.7
usr.sbin/traceroute/traceroute.c: revision 1.69
distrib/notes/common/main: revision 1.330
distrib/notes/common/list-setsizes.sh: revision 1.2
sys/arch/Makefile: revision 1.35
gnu/lib/libopcodes/arch/sh3el/defs.mk: revision 1.4
gnu/lib/libbfd/arch/sh3el/defs.mk: revision 1.8
share/mk/bsd.own.mk: revision 1.495
gnu/lib/libbfd/arch/sh3eb/bfd.h: revision 1.7
x11/lib/OSmesa/Makefile: revision 1.20
sys/dev/dkwedge/dkwedge_bsdlabel.c: revision 1.13
gnu/dist/binutils/opcodes/configure.in: revision 1.2
gnu/dist/binutils/opcodes/configure: revision 1.2
gnu/usr.bin/send-pr/categories: revision 1.53
etc/mtree/NetBSD.dist: revision 1.339
sys/arch/README: revision 1.42
lib/libc/gdtoa/Makefile.inc: revision 1.6
usr.bin/crunch/crunchide/Makefile: revision 1.16
sys/lkm/net/bsdcomp/Makefile: revision 1.5
regress/sys/uvm/Makefile: revision 1.6
etc/MAKEDEV.awk: revision 1.18
x11/Xserver/GL/GLcore/Makefile.GLcore: revision 1.10
sys/contrib/dev/ath/netbsd/Makefile.ath.inc: revision 1.14
gnu/lib/libbfd/Makefile: revision 1.42
doc/RESPONSIBLE: revision 1.78
Remove evbsh5.
 1.4.4.1 07-May-2007  pavel branches: 1.4.4.1.2;
Pull up following revision(s) (requested by manu in ticket #607):
lib/libc/arch/i386/gen/isnanl.c: revision 1.6
lib/libc/gdtoa/gdtoa.c: revision 1.2-1.3
lib/libc/arch/x86_64/gen/isnanl.c: revision 1.6
lib/libc/gdtoa/gdtoaimp.h: revision 1.6
sys/arch/m68k/include/ieee.h: revision 1.13
usr.bin/xlint/lint1/scan.l: revision 1.36-1.37
lib/libc/stdio/snprintf_ss.c: revision 1.4
lib/libc/arch/i386/gen/isfinitel.c: revision 1.2
lib/libc/stdio/vfscanf.c: revision 1.38
sys/arch/sparc/include/ieee.h: revision 1.11-1.12
lib/libc/gdtoa/dtoa.c: revision 1.4
lib/libc/stdio/Makefile.inc: revision 1.35
lib/libc/stdio/fvwrite.c: revision 1.17
lib/libc/arch/m68k/gen/fpclassifyl.c: revision 1.2
lib/libc/arch/i386/gen/isinfl.c: revision 1.6
lib/libc/arch/x86_64/gen/isinfl.c: revision 1.6
lib/libc/arch/x86_64/gen/isfinitel.c: revision 1.2
lib/libc/stdio/vfprintf.c: revision 1.55-1.57
lib/libc/stdio/vsnprintf_ss.c: revision 1.3
lib/libc/stdio/vfwprintf.c: revision 1.10
sys/arch/x86/include/ieee.h: revision 1.10
lib/libc/gdtoa/dmisc.c: revision 1.3
lib/libc/gdtoa/Makefile.inc: revision 1.5
sys/arch/hppa/include/ieee.h: revision 1.10
lib/libc/arch/x86_64/gen/fpclassifyl.c: revision 1.3
lib/libc/arch/i386/gen/fpclassifyl.c: revision 1.2
sys/sys/ieee754.h: revision 1.7
lib/libc/gdtoa/gdtoa.h: revision 1.7
include/stdio.h: revision 1.67-1.68
lib/libc/gdtoa/hdtoa.c: revision 1.1-1.4
lib/libc/gdtoa/ldtoa.c: revision 1.1-1.4
defined(_NETBSD_SOURCE) is equivalent to (!defined(_ANSI_SOURCE) &&
!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)), so there's no
need to check both of them.
Fix for issue reported in PR lib/35401 as well as related overflow bugs.
deal with hex doubles.
Instead of abusing stdio to get a signal-safe version of sprintf, provide one.
remove __SAFE
add long double and hex double support from freebsd.
make this compile.
add new prototypes.
add the new files to the build. Note I am not bumping libc now, because
these are not used yet.
Merge the int bit with the high fraction bit. Add constants/macros
needed by gdtoa.
add constants used by gdtoa
since the int bit is merged, do the explicit math.
ext_int bit is no more.
ext_int bit is no more.
- merge change from freebsd
- add support for building as vfprintf.c
- XXX: we strdup to simplify the freeing logic. This should be fixed for
efficiency in the vfprintf case.
use vfwprintf.c
enable wide doubles.
some int -> size_t
deal with sparc64 that has 112 bits of mantissa.
make extended precision gdtoa friendly.
int/size_t changes
make this gdtoa friendly.
remove dup definition
use dtoa() instead of returning empty when we don't have extended precision
information.
Fix previous, add forgotten pointer dereference in the call to dtoa().
Add a cheesy workaround marked XXX for the situation where the
strtod() implementation available in the environment does not
handle hex floats.
Discussed with and suggested by christos
From Christos: gdtoa fixes for m68k. M68k ports should build now, but
printing extended precision is a little off.
vax does not have <machine/ieee.h> or long double
It would be nice if the compiler provided something like __IEEE_MATH__
bring in FreeBSD's vfscanf() to gain multi-byte/collation support.
Unfortunately it is too difficult to make vfwscanf and this share
the same code like I did with printf, because for string parsing
the code is too different.
 1.4.4.1.2.1 03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.8.34.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.8.34.1 23-Jun-2013  tls resync from head
 1.8.28.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.10.28.1 08-Dec-2019  martin Pull up following revision(s) (requested by riastradh in ticket #506):

lib/libc/gdtoa/Makefile.inc: revision 1.11
lib/libc/gdtoa/gdtoa_fltrnds.h: revision 1.2
lib/libc/gdtoa/gdtoaimp.h: revision 1.15
lib/libc/gdtoa/gdtoaimp.h: revision 1.17

Honour the floating-point rounding mode in floating-point formatting.

C99, Sec. 7.19.6.1 `The fprintf function', paragraph 13, p. 281:
(Recommended practice)
For e, E, f, F, g, and G conversions, if the number of significant
decimal digits is at most DECIMAL_DIG, then the result should be
correctly rounded. If the number of significant decimal digits is
more than DECIMAL_DIG but the source value is exactly
representable with DECIMAL_DIG digits, then the result should be
an exact representation with trailing zeros. Otherwise, the
source value is bounded by two adjacent decimal strings L < U,
both having DECIMAL_DIG significant idgits; the value of the
resultant decimal string D should satisfy L <= D <= U, _with the
extra stipulation that the error should have a correct sign for
the current rounding direction_. [emphasis added]

The gdtoa code base already supports respecting the floating-point
rounding mode, as long as we compile it with Honor_FLT_ROUNDS
defined. However, for this to work, fegetround must be available in
libc, which it is not currently -- the fenv logic is in libm.

Fortunately, we don't have to move all of fenv from libm to libc --
programs that do not link against libm don't have fesetround, so the
rounding mode is always the default (barring asm shenanigans that
bypass the API -- tough). So use a weak reference to fegetround; by
default, assume FE_TONEAREST if it is not defined.

Mark the libc fegetround weak reference unused.
Not all .c files that include gdtoaimp.h use it, which makes clang
unhappy.
 1.10.26.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.12.2.1 08-Oct-2023  martin Pull up following revision(s) (requested by rin in ticket #394):

external/gpl3/binutils/dist/gas/config/tc-vax.h: revision 1.10
tools/gcc/Makefile: revision 1.109
external/gpl3/binutils/dist/gas/config/tc-vax.c: revision 1.16
external/gpl3/binutils/dist/gas/config/tc-vax.c: revision 1.17
external/gpl3/binutils/dist/gas/config/tc-vax.c: revision 1.18
external/gpl3/gcc.old/dist/gcc/recog.c: revision 1.12
external/gpl3/gcc.old/dist/gcc/function.c: revision 1.16
external/gpl3/gcc.old/dist/gcc/dse.c: revision 1.14 - 1.16
external/gpl3/gcc.old/dist/gcc/config/vax/vax.c: revision 1.13
external/gpl3/gcc.old/dist/gcc/config/vax/vax.c: revision 1.14
external/gpl3/gcc.old/dist/gcc/config/vax/vax.c: revision 1.15
external/gpl3/gcc.old/dist/gcc/doc/tm.texi.in: revision 1.10
external/gpl3/gcc.old/dist/gcc/config/vax/vax.c: revision 1.16
external/gpl3/gcc.old/dist/gcc/config/vax/vax.c: revision 1.17
external/gpl3/gcc.old/dist/gcc/config/vax/vax.c: revision 1.18
external/gpl3/gcc.old/dist/gcc/config/vax/vax.c: revision 1.19
external/gpl3/gcc.old/dist/gcc/config/vax/vax.md: revision 1.12
external/gpl3/gcc.old/dist/gcc/config/vax/vax.md: revision 1.13
external/gpl3/gcc.old/usr.bin/backend/Makefile: revision 1.20
external/gpl3/gcc.old/dist/gcc/targhooks.c: revision 1.12
external/gpl3/gcc.old/dist/gcc/config/vax/vax.md: revision 1.14
external/gpl3/gcc.old/dist/gcc/config/vax/vax.md: revision 1.15
external/gpl3/gcc.old/dist/gcc/config/vax/builtins.md: revision 1.12
external/gpl3/gcc.old/dist/gcc/config/vax/vax.md: revision 1.16
external/gpl3/gcc.old/dist/gcc/config/vax/builtins.md: revision 1.13
external/gpl3/gcc.old/dist/gcc/doc/tm.texi: revision 1.12
external/gpl3/gcc.old/dist/gcc/config/vax/vax.md: revision 1.17
external/gpl3/gcc.old/dist/gcc/config/vax/vax.md: revision 1.18
external/gpl3/gcc.old/dist/gcc/config/vax/elf.h: revision 1.12
external/gpl3/gcc.old/dist/gcc/config/vax/elf.h: revision 1.13
external/gpl3/gcc.old/dist/gcc/targhooks.h: revision 1.12
external/gpl3/gcc.old/dist/gcc/target.def: revision 1.10
external/gpl3/gcc.old/dist/gcc/rtlanal.c: revision 1.14
external/gpl3/gcc.old/dist/gcc/reload.c: revision 1.12
external/gpl3/gcc.old/usr.bin/gcc/Makefile: revision 1.11
external/gpl3/gcc.old/usr.bin/lto-dump/Makefile: revision 1.3
external/gpl3/gcc.old/lib/Makefile.sanitizer: revision 1.7
external/gpl3/binutils.old/lib/libbfd/Makefile: revision 1.10
distrib/utils/x_ping/Makefile: revision 1.9
games/phantasia/Makefile: revision 1.38
external/apache2/argon2/lib/libargon2/Makefile.inc: revision 1.2
external/gpl3/gcc.old/lib/libubsan/Makefile: revision 1.8
external/bsd/mdocml/lib/libmandoc/Makefile: revision 1.13
sbin/ping/Makefile: revision 1.18
sbin/newfs_ext2fs/Makefile: revision 1.7
sys/lib/libz/Makefile: revision 1.24
sys/lib/libsa/Makefile: revision 1.97
external/gpl3/gcc.old/usr.bin/cc1objplus/Makefile: revision 1.3
external/gpl3/gdb/lib/libgdb/Makefile: revision 1.36
sys/modules/lfs/Makefile: revision 1.11
external/mit/xorg/lib/gallium/Makefile: revision 1.51
external/gpl3/gdb.old/lib/libdecnumber/Makefile: revision 1.10
external/mit/xorg/lib/libX11/Makefile.libx11: revision 1.26
libexec/ld.elf_so/Makefile: revision 1.148
external/bsd/jemalloc/lib/Makefile.inc: revision 1.16
external/gpl3/gcc.old/usr.bin/libdecnumber/Makefile: revision 1.14
crypto/external/bsd/openssh/lib/Makefile: revision 1.38
external/gpl3/gcc.old/usr.bin/backend/Makefile: revision 1.21
external/gpl3/gcc.old/usr.bin/cc1/Makefile: revision 1.12
external/gpl3/gcc.old/lib/libasan/Makefile: revision 1.11
external/gpl3/gcc.old/usr.bin/cc1plus/Makefile: revision 1.13
lib/libcrypt/Makefile: revision 1.36
external/gpl3/gdb/lib/libdecnumber/Makefile: revision 1.5
lib/libc/gdtoa/Makefile.inc: revision 1.13
games/gomoku/Makefile: revision 1.13
sbin/fsdb/Makefile: revision 1.43
external/gpl3/gcc.old/usr.bin/lto1/Makefile: revision 1.9
external/mit/xorg/lib/gallium.old/Makefile: revision 1.8
lib/libbz2/Makefile: revision 1.22
external/gpl3/gcc.old/usr.bin/cc1obj/Makefile: revision 1.12
usr.sbin/mtrace/Makefile: revision 1.14
external/gpl3/gcc.old/usr.bin/cc1obj/Makefile: revision 1.13
sys/arch/vax/conf/Makefile.vax: revision 1.86
sys/rump/fs/lib/liblfs/Makefile: revision 1.18
sbin/fsck_ffs/Makefile.common: revision 1.3
external/gpl3/binutils/lib/libbfd/Makefile: revision 1.27
lib/i18n_module/UTF7/Makefile: revision 1.5
external/gpl3/gcc.old/lib/liblsan/Makefile: revision 1.7
doc/CHANGES (apply patch)
(all external/gpl3/gcc.old/ changes applied to external/gpl3/gcc/)

PR 57646: Import major vax toolchain fix.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.4 16-Jan-2014  christos "soon" is "now". Remove all __indr_reference crap.
 1.3 18-Apr-2013  joerg Add strtof_l, strtod_l and strtold_l.
 1.2 21-Oct-2009  snj branches: 1.2.6; 1.2.12;
Remove 3rd and 4th clauses in christos' license. OK christos.
 1.1 15-Mar-2006  kleink Add strtof(3) and strtold(3); welcome libc 12.137.
 1.2.12.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.12.1 23-Jun-2013  tls resync from head
 1.2.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.3 16-Jan-2014  christos "soon" is "now". Remove all __indr_reference crap.
 1.2 21-Oct-2009  snj branches: 1.2.6; 1.2.12;
Remove 3rd and 4th clauses in christos' license. OK christos.
 1.1 15-Mar-2006  kleink Add strtof(3) and strtold(3); welcome libc 12.137.
 1.2.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.4 24-Jun-2012  christos fix old style definitions; XXX: gcc should have picked them up but it did not.
 1.3 17-Jan-2010  wiz branches: 1.3.6;
Close file handle after using it. Found by cppcheck.
 1.2 25-Jan-2006  kleink * Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
done in strtod.c.
* Some const poisoning, more to follow.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.3.6.1 30-Oct-2012  yamt sync with head
 1.4 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.3 03-Feb-2007  christos some int -> size_t
deal with sparc64 that has 112 bits of mantissa.
 1.2 25-Jan-2006  kleink branches: 1.2.4;
* Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
done in strtod.c.
* Some const poisoning, more to follow.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.2.4.2 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.2.4.1 07-May-2007  pavel branches: 1.2.4.1.2; 1.2.4.1.4;
Pull up following revision(s) (requested by manu in ticket #607):
lib/libc/arch/i386/gen/isnanl.c: revision 1.6
lib/libc/gdtoa/gdtoa.c: revision 1.2-1.3
lib/libc/arch/x86_64/gen/isnanl.c: revision 1.6
lib/libc/gdtoa/gdtoaimp.h: revision 1.6
sys/arch/m68k/include/ieee.h: revision 1.13
usr.bin/xlint/lint1/scan.l: revision 1.36-1.37
lib/libc/stdio/snprintf_ss.c: revision 1.4
lib/libc/arch/i386/gen/isfinitel.c: revision 1.2
lib/libc/stdio/vfscanf.c: revision 1.38
sys/arch/sparc/include/ieee.h: revision 1.11-1.12
lib/libc/gdtoa/dtoa.c: revision 1.4
lib/libc/stdio/Makefile.inc: revision 1.35
lib/libc/stdio/fvwrite.c: revision 1.17
lib/libc/arch/m68k/gen/fpclassifyl.c: revision 1.2
lib/libc/arch/i386/gen/isinfl.c: revision 1.6
lib/libc/arch/x86_64/gen/isinfl.c: revision 1.6
lib/libc/arch/x86_64/gen/isfinitel.c: revision 1.2
lib/libc/stdio/vfprintf.c: revision 1.55-1.57
lib/libc/stdio/vsnprintf_ss.c: revision 1.3
lib/libc/stdio/vfwprintf.c: revision 1.10
sys/arch/x86/include/ieee.h: revision 1.10
lib/libc/gdtoa/dmisc.c: revision 1.3
lib/libc/gdtoa/Makefile.inc: revision 1.5
sys/arch/hppa/include/ieee.h: revision 1.10
lib/libc/arch/x86_64/gen/fpclassifyl.c: revision 1.3
lib/libc/arch/i386/gen/fpclassifyl.c: revision 1.2
sys/sys/ieee754.h: revision 1.7
lib/libc/gdtoa/gdtoa.h: revision 1.7
include/stdio.h: revision 1.67-1.68
lib/libc/gdtoa/hdtoa.c: revision 1.1-1.4
lib/libc/gdtoa/ldtoa.c: revision 1.1-1.4
defined(_NETBSD_SOURCE) is equivalent to (!defined(_ANSI_SOURCE) &&
!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)), so there's no
need to check both of them.
Fix for issue reported in PR lib/35401 as well as related overflow bugs.
deal with hex doubles.
Instead of abusing stdio to get a signal-safe version of sprintf, provide one.
remove __SAFE
add long double and hex double support from freebsd.
make this compile.
add new prototypes.
add the new files to the build. Note I am not bumping libc now, because
these are not used yet.
Merge the int bit with the high fraction bit. Add constants/macros
needed by gdtoa.
add constants used by gdtoa
since the int bit is merged, do the explicit math.
ext_int bit is no more.
ext_int bit is no more.
- merge change from freebsd
- add support for building as vfprintf.c
- XXX: we strdup to simplify the freeing logic. This should be fixed for
efficiency in the vfprintf case.
use vfwprintf.c
enable wide doubles.
some int -> size_t
deal with sparc64 that has 112 bits of mantissa.
make extended precision gdtoa friendly.
int/size_t changes
make this gdtoa friendly.
remove dup definition
use dtoa() instead of returning empty when we don't have extended precision
information.
Fix previous, add forgotten pointer dereference in the call to dtoa().
Add a cheesy workaround marked XXX for the situation where the
strtod() implementation available in the environment does not
handle hex floats.
Discussed with and suggested by christos
From Christos: gdtoa fixes for m68k. M68k ports should build now, but
printing extended precision is a little off.
vax does not have <machine/ieee.h> or long double
It would be nice if the compiler provided something like __IEEE_MATH__
bring in FreeBSD's vfscanf() to gain multi-byte/collation support.
Unfortunately it is too difficult to make vfwscanf and this share
the same code like I did with printf, because for string parsing
the code is too different.
 1.2.4.1.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.2.4.1.2.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.12 20-Jan-2024  christos Catch up with all the lint warnings since exit on warning was disabled.
Disable 'missing header declaration' and 'nested extern' warnings for now.
 1.11 06-May-2021  christos PR/56148: Andreas Gustafsson: lib/libc/stdio/t_printf:snprintf_float test
randomly fails.
Add checks to all places where lshift is called because it can return NULL
 1.10 16-May-2012  alnsn Use original indentation style in more places.
 1.9 15-May-2012  alnsn Don't use normal indentation style, use original author's indentation style.
 1.8 15-May-2012  alnsn Add missing {} around two "if (b == NULL)" checks which were added in r1.5.
 1.7 21-Mar-2011  christos branches: 1.7.4;
fix vax typo.
 1.6 20-Mar-2011  christos Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.5 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.4 03-Feb-2007  christos int/size_t changes
 1.3 28-Feb-2006  kleink branches: 1.3.4;
Restore the UCB __dtoa() behavior as previously done in stdlib/strtod.c:

revision 1.9
date: 1993/12/07 18:54:32; author: jtc; state: Exp; lines: +5 -1
Restore 4 lines of code that UCB added that got lost when I upgraded to
the latest version of this code. This bug was responsible for printf
formatting errors when values were rounded to 0.

Fixes PR lib/32951.
 1.2 25-Jan-2006  kleink * Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
done in strtod.c.
* Some const poisoning, more to follow.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.3.4.2 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.3.4.1 07-May-2007  pavel branches: 1.3.4.1.2; 1.3.4.1.4;
Pull up following revision(s) (requested by manu in ticket #607):
lib/libc/arch/i386/gen/isnanl.c: revision 1.6
lib/libc/gdtoa/gdtoa.c: revision 1.2-1.3
lib/libc/arch/x86_64/gen/isnanl.c: revision 1.6
lib/libc/gdtoa/gdtoaimp.h: revision 1.6
sys/arch/m68k/include/ieee.h: revision 1.13
usr.bin/xlint/lint1/scan.l: revision 1.36-1.37
lib/libc/stdio/snprintf_ss.c: revision 1.4
lib/libc/arch/i386/gen/isfinitel.c: revision 1.2
lib/libc/stdio/vfscanf.c: revision 1.38
sys/arch/sparc/include/ieee.h: revision 1.11-1.12
lib/libc/gdtoa/dtoa.c: revision 1.4
lib/libc/stdio/Makefile.inc: revision 1.35
lib/libc/stdio/fvwrite.c: revision 1.17
lib/libc/arch/m68k/gen/fpclassifyl.c: revision 1.2
lib/libc/arch/i386/gen/isinfl.c: revision 1.6
lib/libc/arch/x86_64/gen/isinfl.c: revision 1.6
lib/libc/arch/x86_64/gen/isfinitel.c: revision 1.2
lib/libc/stdio/vfprintf.c: revision 1.55-1.57
lib/libc/stdio/vsnprintf_ss.c: revision 1.3
lib/libc/stdio/vfwprintf.c: revision 1.10
sys/arch/x86/include/ieee.h: revision 1.10
lib/libc/gdtoa/dmisc.c: revision 1.3
lib/libc/gdtoa/Makefile.inc: revision 1.5
sys/arch/hppa/include/ieee.h: revision 1.10
lib/libc/arch/x86_64/gen/fpclassifyl.c: revision 1.3
lib/libc/arch/i386/gen/fpclassifyl.c: revision 1.2
sys/sys/ieee754.h: revision 1.7
lib/libc/gdtoa/gdtoa.h: revision 1.7
include/stdio.h: revision 1.67-1.68
lib/libc/gdtoa/hdtoa.c: revision 1.1-1.4
lib/libc/gdtoa/ldtoa.c: revision 1.1-1.4
defined(_NETBSD_SOURCE) is equivalent to (!defined(_ANSI_SOURCE) &&
!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)), so there's no
need to check both of them.
Fix for issue reported in PR lib/35401 as well as related overflow bugs.
deal with hex doubles.
Instead of abusing stdio to get a signal-safe version of sprintf, provide one.
remove __SAFE
add long double and hex double support from freebsd.
make this compile.
add new prototypes.
add the new files to the build. Note I am not bumping libc now, because
these are not used yet.
Merge the int bit with the high fraction bit. Add constants/macros
needed by gdtoa.
add constants used by gdtoa
since the int bit is merged, do the explicit math.
ext_int bit is no more.
ext_int bit is no more.
- merge change from freebsd
- add support for building as vfprintf.c
- XXX: we strdup to simplify the freeing logic. This should be fixed for
efficiency in the vfprintf case.
use vfwprintf.c
enable wide doubles.
some int -> size_t
deal with sparc64 that has 112 bits of mantissa.
make extended precision gdtoa friendly.
int/size_t changes
make this gdtoa friendly.
remove dup definition
use dtoa() instead of returning empty when we don't have extended precision
information.
Fix previous, add forgotten pointer dereference in the call to dtoa().
Add a cheesy workaround marked XXX for the situation where the
strtod() implementation available in the environment does not
handle hex floats.
Discussed with and suggested by christos
From Christos: gdtoa fixes for m68k. M68k ports should build now, but
printing extended precision is a little off.
vax does not have <machine/ieee.h> or long double
It would be nice if the compiler provided something like __IEEE_MATH__
bring in FreeBSD's vfscanf() to gain multi-byte/collation support.
Unfortunately it is too difficult to make vfwscanf and this share
the same code like I did with printf, because for string parsing
the code is too different.
 1.3.4.1.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.3.4.1.2.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.7.4.1 23-May-2012  yamt sync with head.
 1.5 01-Aug-2019  riastradh Sprinkle some more const in.
 1.4 20-Mar-2011  christos branches: 1.4.44;
Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.3 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.2 25-Jan-2006  kleink branches: 1.2.4; 1.2.6; 1.2.14;
* Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
done in strtod.c.
* Some const poisoning, more to follow.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.2.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.2.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.2.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.4.44.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.2 21-Mar-2011  christos more de-linting.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.3 20-Mar-2011  christos Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.2 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.14;
Import gdtoa-2005-09-23; test suite will be imported separately.
 1.1.1.1.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.1.1.1.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.1.1.1.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.4 01-Aug-2019  riastradh Sprinkle some more const in.
 1.3 20-Mar-2011  christos branches: 1.3.44;
Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.2 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.14;
Import gdtoa-2005-09-23; test suite will be imported separately.
 1.1.1.1.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.1.1.1.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.1.1.1.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.3.44.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.4 01-Aug-2019  riastradh Sprinkle some more const in.
 1.3 20-Mar-2011  christos branches: 1.3.44;
Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.2 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.14;
Import gdtoa-2005-09-23; test suite will be imported separately.
 1.1.1.1.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.1.1.1.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.1.1.1.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.3.44.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.5 01-Aug-2019  riastradh Sprinkle some more const in.
 1.4 20-Mar-2011  christos branches: 1.4.44;
Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.3 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.2 25-Jan-2006  kleink branches: 1.2.4; 1.2.6; 1.2.14;
* Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
done in strtod.c.
* Some const poisoning, more to follow.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.2.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.2.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.2.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.4.44.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.5 01-Aug-2019  riastradh Sprinkle some more const in.
 1.4 20-Mar-2011  christos branches: 1.4.44;
Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.3 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.2 25-Jan-2006  kleink branches: 1.2.4; 1.2.6; 1.2.14;
* Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
done in strtod.c.
* Some const poisoning, more to follow.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.2.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.2.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.2.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.4.44.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.11 20-Jan-2024  christos Catch up with all the lint warnings since exit on warning was disabled.
Disable 'missing header declaration' and 'nested extern' warnings for now.
 1.10 02-Jan-2024  christos pass lint.
 1.9 01-Apr-2023  dholland Fix lying comment.
 1.8 06-May-2021  christos PR/56148: Andreas Gustafsson: lib/libc/stdio/t_printf:snprintf_float test
randomly fails.
Add checks to all places where lshift is called because it can return NULL
 1.7 01-Aug-2019  riastradh Sprinkle some more const in.
 1.6 13-Mar-2012  christos branches: 1.6.32;
PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@
 1.5 20-Mar-2011  christos branches: 1.5.4;
Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.4 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.3 03-Feb-2007  christos int/size_t changes
 1.2 02-Feb-2007  christos make this compile.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink branches: 1.1.1.1.4;
Import gdtoa-2005-09-23; test suite will be imported separately.
 1.1.1.1.4.2 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.1.1.1.4.1 07-May-2007  pavel branches: 1.1.1.1.4.1.2; 1.1.1.1.4.1.4;
Pull up following revision(s) (requested by manu in ticket #607):
lib/libc/arch/i386/gen/isnanl.c: revision 1.6
lib/libc/gdtoa/gdtoa.c: revision 1.2-1.3
lib/libc/arch/x86_64/gen/isnanl.c: revision 1.6
lib/libc/gdtoa/gdtoaimp.h: revision 1.6
sys/arch/m68k/include/ieee.h: revision 1.13
usr.bin/xlint/lint1/scan.l: revision 1.36-1.37
lib/libc/stdio/snprintf_ss.c: revision 1.4
lib/libc/arch/i386/gen/isfinitel.c: revision 1.2
lib/libc/stdio/vfscanf.c: revision 1.38
sys/arch/sparc/include/ieee.h: revision 1.11-1.12
lib/libc/gdtoa/dtoa.c: revision 1.4
lib/libc/stdio/Makefile.inc: revision 1.35
lib/libc/stdio/fvwrite.c: revision 1.17
lib/libc/arch/m68k/gen/fpclassifyl.c: revision 1.2
lib/libc/arch/i386/gen/isinfl.c: revision 1.6
lib/libc/arch/x86_64/gen/isinfl.c: revision 1.6
lib/libc/arch/x86_64/gen/isfinitel.c: revision 1.2
lib/libc/stdio/vfprintf.c: revision 1.55-1.57
lib/libc/stdio/vsnprintf_ss.c: revision 1.3
lib/libc/stdio/vfwprintf.c: revision 1.10
sys/arch/x86/include/ieee.h: revision 1.10
lib/libc/gdtoa/dmisc.c: revision 1.3
lib/libc/gdtoa/Makefile.inc: revision 1.5
sys/arch/hppa/include/ieee.h: revision 1.10
lib/libc/arch/x86_64/gen/fpclassifyl.c: revision 1.3
lib/libc/arch/i386/gen/fpclassifyl.c: revision 1.2
sys/sys/ieee754.h: revision 1.7
lib/libc/gdtoa/gdtoa.h: revision 1.7
include/stdio.h: revision 1.67-1.68
lib/libc/gdtoa/hdtoa.c: revision 1.1-1.4
lib/libc/gdtoa/ldtoa.c: revision 1.1-1.4
defined(_NETBSD_SOURCE) is equivalent to (!defined(_ANSI_SOURCE) &&
!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)), so there's no
need to check both of them.
Fix for issue reported in PR lib/35401 as well as related overflow bugs.
deal with hex doubles.
Instead of abusing stdio to get a signal-safe version of sprintf, provide one.
remove __SAFE
add long double and hex double support from freebsd.
make this compile.
add new prototypes.
add the new files to the build. Note I am not bumping libc now, because
these are not used yet.
Merge the int bit with the high fraction bit. Add constants/macros
needed by gdtoa.
add constants used by gdtoa
since the int bit is merged, do the explicit math.
ext_int bit is no more.
ext_int bit is no more.
- merge change from freebsd
- add support for building as vfprintf.c
- XXX: we strdup to simplify the freeing logic. This should be fixed for
efficiency in the vfprintf case.
use vfwprintf.c
enable wide doubles.
some int -> size_t
deal with sparc64 that has 112 bits of mantissa.
make extended precision gdtoa friendly.
int/size_t changes
make this gdtoa friendly.
remove dup definition
use dtoa() instead of returning empty when we don't have extended precision
information.
Fix previous, add forgotten pointer dereference in the call to dtoa().
Add a cheesy workaround marked XXX for the situation where the
strtod() implementation available in the environment does not
handle hex floats.
Discussed with and suggested by christos
From Christos: gdtoa fixes for m68k. M68k ports should build now, but
printing extended precision is a little off.
vax does not have <machine/ieee.h> or long double
It would be nice if the compiler provided something like __IEEE_MATH__
bring in FreeBSD's vfscanf() to gain multi-byte/collation support.
Unfortunately it is too difficult to make vfwscanf and this share
the same code like I did with printf, because for string parsing
the code is too different.
 1.1.1.1.4.1.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.1.1.1.4.1.2.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.5.4.1 17-Apr-2012  yamt sync with head
 1.6.32.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.11 01-Aug-2019  riastradh Sprinkle some more const in.
 1.10 18-Apr-2013  joerg branches: 1.10.28;
Add strtof_l, strtod_l and strtold_l.
 1.9 20-Mar-2011  christos branches: 1.9.4; 1.9.10;
Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.8 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.7 02-Feb-2007  christos add new prototypes.
 1.6 04-May-2006  christos branches: 1.6.4;
It is really bad style to define ULong unsigned long in one file and
uint32_t in another. No wonder lint was bitching (hello kjk)
 1.5 15-Mar-2006  kleink Add strtof(3) and strtold(3); welcome libc 12.137.
 1.4 11-Mar-2006  kleink Const poisoning.
 1.3 26-Jan-2006  kleink Keep strtodg() in private namespace.
 1.2 25-Jan-2006  kleink * Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
done in strtod.c.
* Some const poisoning, more to follow.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.6.4.2 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.6.4.1 07-May-2007  pavel branches: 1.6.4.1.2; 1.6.4.1.4;
Pull up following revision(s) (requested by manu in ticket #607):
lib/libc/arch/i386/gen/isnanl.c: revision 1.6
lib/libc/gdtoa/gdtoa.c: revision 1.2-1.3
lib/libc/arch/x86_64/gen/isnanl.c: revision 1.6
lib/libc/gdtoa/gdtoaimp.h: revision 1.6
sys/arch/m68k/include/ieee.h: revision 1.13
usr.bin/xlint/lint1/scan.l: revision 1.36-1.37
lib/libc/stdio/snprintf_ss.c: revision 1.4
lib/libc/arch/i386/gen/isfinitel.c: revision 1.2
lib/libc/stdio/vfscanf.c: revision 1.38
sys/arch/sparc/include/ieee.h: revision 1.11-1.12
lib/libc/gdtoa/dtoa.c: revision 1.4
lib/libc/stdio/Makefile.inc: revision 1.35
lib/libc/stdio/fvwrite.c: revision 1.17
lib/libc/arch/m68k/gen/fpclassifyl.c: revision 1.2
lib/libc/arch/i386/gen/isinfl.c: revision 1.6
lib/libc/arch/x86_64/gen/isinfl.c: revision 1.6
lib/libc/arch/x86_64/gen/isfinitel.c: revision 1.2
lib/libc/stdio/vfprintf.c: revision 1.55-1.57
lib/libc/stdio/vsnprintf_ss.c: revision 1.3
lib/libc/stdio/vfwprintf.c: revision 1.10
sys/arch/x86/include/ieee.h: revision 1.10
lib/libc/gdtoa/dmisc.c: revision 1.3
lib/libc/gdtoa/Makefile.inc: revision 1.5
sys/arch/hppa/include/ieee.h: revision 1.10
lib/libc/arch/x86_64/gen/fpclassifyl.c: revision 1.3
lib/libc/arch/i386/gen/fpclassifyl.c: revision 1.2
sys/sys/ieee754.h: revision 1.7
lib/libc/gdtoa/gdtoa.h: revision 1.7
include/stdio.h: revision 1.67-1.68
lib/libc/gdtoa/hdtoa.c: revision 1.1-1.4
lib/libc/gdtoa/ldtoa.c: revision 1.1-1.4
defined(_NETBSD_SOURCE) is equivalent to (!defined(_ANSI_SOURCE) &&
!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)), so there's no
need to check both of them.
Fix for issue reported in PR lib/35401 as well as related overflow bugs.
deal with hex doubles.
Instead of abusing stdio to get a signal-safe version of sprintf, provide one.
remove __SAFE
add long double and hex double support from freebsd.
make this compile.
add new prototypes.
add the new files to the build. Note I am not bumping libc now, because
these are not used yet.
Merge the int bit with the high fraction bit. Add constants/macros
needed by gdtoa.
add constants used by gdtoa
since the int bit is merged, do the explicit math.
ext_int bit is no more.
ext_int bit is no more.
- merge change from freebsd
- add support for building as vfprintf.c
- XXX: we strdup to simplify the freeing logic. This should be fixed for
efficiency in the vfprintf case.
use vfwprintf.c
enable wide doubles.
some int -> size_t
deal with sparc64 that has 112 bits of mantissa.
make extended precision gdtoa friendly.
int/size_t changes
make this gdtoa friendly.
remove dup definition
use dtoa() instead of returning empty when we don't have extended precision
information.
Fix previous, add forgotten pointer dereference in the call to dtoa().
Add a cheesy workaround marked XXX for the situation where the
strtod() implementation available in the environment does not
handle hex floats.
Discussed with and suggested by christos
From Christos: gdtoa fixes for m68k. M68k ports should build now, but
printing extended precision is a little off.
vax does not have <machine/ieee.h> or long double
It would be nice if the compiler provided something like __IEEE_MATH__
bring in FreeBSD's vfscanf() to gain multi-byte/collation support.
Unfortunately it is too difficult to make vfwscanf and this share
the same code like I did with printf, because for string parsing
the code is too different.
 1.6.4.1.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.6.4.1.2.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.9.10.1 23-Jun-2013  tls resync from head
 1.9.4.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.10.28.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.2 01-Aug-2019  riastradh Honour the floating-point rounding mode in floating-point formatting.

C99, Sec. 7.19.6.1 `The fprintf function', paragraph 13, p. 281:

(Recommended practice)

For e, E, f, F, g, and G conversions, if the number of significant
decimal digits is at most DECIMAL_DIG, then the result should be
correctly rounded. If the number of significant decimal digits is
more than DECIMAL_DIG but the source value is exactly
representable with DECIMAL_DIG digits, then the result should be
an exact representation with trailing zeros. Otherwise, the
source value is bounded by two adjacent decimal strings L < U,
both having DECIMAL_DIG significant idgits; the value of the
resultant decimal string D should satisfy L <= D <= U, _with the
extra stipulation that the error should have a correct sign for
the current rounding direction_. [emphasis added]

The gdtoa code base already supports respecting the floating-point
rounding mode, as long as we compile it with Honor_FLT_ROUNDS
defined. However, for this to work, fegetround must be available in
libc, which it is not currently -- the fenv logic is in libm.

Fortunately, we don't have to move all of fenv from libm to libc --
programs that do not link against libm don't have fesetround, so the
rounding mode is always the default (barring asm shenanigans that
bypass the API -- tough). So use a weak reference to fegetround; by
default, assume FE_TONEAREST if it is not defined.
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos branches: 1.1.1.1.44; 1.1.1.1.46;
from www.netlib.org
 1.1.1.1.46.1 08-Dec-2019  martin Pull up following revision(s) (requested by riastradh in ticket #506):

lib/libc/gdtoa/Makefile.inc: revision 1.11
lib/libc/gdtoa/gdtoa_fltrnds.h: revision 1.2
lib/libc/gdtoa/gdtoaimp.h: revision 1.15
lib/libc/gdtoa/gdtoaimp.h: revision 1.17

Honour the floating-point rounding mode in floating-point formatting.

C99, Sec. 7.19.6.1 `The fprintf function', paragraph 13, p. 281:
(Recommended practice)
For e, E, f, F, g, and G conversions, if the number of significant
decimal digits is at most DECIMAL_DIG, then the result should be
correctly rounded. If the number of significant decimal digits is
more than DECIMAL_DIG but the source value is exactly
representable with DECIMAL_DIG digits, then the result should be
an exact representation with trailing zeros. Otherwise, the
source value is bounded by two adjacent decimal strings L < U,
both having DECIMAL_DIG significant idgits; the value of the
resultant decimal string D should satisfy L <= D <= U, _with the
extra stipulation that the error should have a correct sign for
the current rounding direction_. [emphasis added]

The gdtoa code base already supports respecting the floating-point
rounding mode, as long as we compile it with Honor_FLT_ROUNDS
defined. However, for this to work, fegetround must be available in
libc, which it is not currently -- the fenv logic is in libm.

Fortunately, we don't have to move all of fenv from libm to libc --
programs that do not link against libm don't have fesetround, so the
rounding mode is always the default (barring asm shenanigans that
bypass the API -- tough). So use a weak reference to fegetround; by
default, assume FE_TONEAREST if it is not defined.

Mark the libc fegetround weak reference unused.
Not all .c files that include gdtoaimp.h use it, which makes clang
unhappy.
 1.1.1.1.44.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.2 20-Jan-2015  christos Fix non _REENTRANT build.
 1.1 25-Jan-2006  kleink * Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
done in strtod.c.
* Some const poisoning, more to follow.
 1.19 19-Apr-2022  rillig lib: remove CONSTCOND comment

Since 2021-01-31, lint doesn't need it anymore for the common pattern of
'do ... while (0)'.
 1.18 26-Jan-2022  andvar remove double t from targeted, add missing r to arbitrary
And fix few more typos along the way in comments and man pages.
 1.17 07-Aug-2019  riastradh Mark the libc fegetround weak reference unused.

Not all .c files that include gdtoaimp.h use it, which makes clang
unhappy.
 1.16 01-Aug-2019  riastradh Sprinkle some more const in.
 1.15 01-Aug-2019  riastradh Honour the floating-point rounding mode in floating-point formatting.

C99, Sec. 7.19.6.1 `The fprintf function', paragraph 13, p. 281:

(Recommended practice)

For e, E, f, F, g, and G conversions, if the number of significant
decimal digits is at most DECIMAL_DIG, then the result should be
correctly rounded. If the number of significant decimal digits is
more than DECIMAL_DIG but the source value is exactly
representable with DECIMAL_DIG digits, then the result should be
an exact representation with trailing zeros. Otherwise, the
source value is bounded by two adjacent decimal strings L < U,
both having DECIMAL_DIG significant idgits; the value of the
resultant decimal string D should satisfy L <= D <= U, _with the
extra stipulation that the error should have a correct sign for
the current rounding direction_. [emphasis added]

The gdtoa code base already supports respecting the floating-point
rounding mode, as long as we compile it with Honor_FLT_ROUNDS
defined. However, for this to work, fegetround must be available in
libc, which it is not currently -- the fenv logic is in libm.

Fortunately, we don't have to move all of fenv from libm to libc --
programs that do not link against libm don't have fesetround, so the
rounding mode is always the default (barring asm shenanigans that
bypass the API -- tough). So use a weak reference to fegetround; by
default, assume FE_TONEAREST if it is not defined.
 1.14 19-Apr-2013  joerg branches: 1.14.28; 1.14.30;
Pass locale down to gethex as well.
 1.13 13-Mar-2012  christos branches: 1.13.2;
PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@
 1.12 04-Jun-2011  christos branches: 1.12.2;
remove string placed by error(1)
 1.11 21-Mar-2011  christos branches: 1.11.2;
Add Emin for the vax. Need to check
 1.10 21-Mar-2011  christos fix some lint on i386
 1.9 20-Mar-2011  christos Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.8 21-Jan-2011  christos add may alias attribute to the double union because gcc-4.5.x produces
incorrect code on ARMv7a. From Nikunj Badjatya and Amol Pise.
 1.7 07-May-2009  christos branches: 1.7.2;
Change Kmax so we allocate enough freelist entries to handle large field
numbers. Reported by Maksymilian Arciemowicz
 1.6 03-Feb-2007  christos branches: 1.6.18; 1.6.22; 1.6.24; 1.6.26;
some int -> size_t
deal with sparc64 that has 112 bits of mantissa.
 1.5 04-May-2006  christos branches: 1.5.4;
It is really bad style to define ULong unsigned long in one file and
uint32_t in another. No wonder lint was bitching (hello kjk)
 1.4 04-May-2006  christos Only do the mutex dance if _REENTRANT
 1.3 11-Mar-2006  kleink Const poisoning.
 1.2 25-Jan-2006  kleink * Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
done in strtod.c.
* Some const poisoning, more to follow.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.5.4.1 07-May-2007  pavel Pull up following revision(s) (requested by manu in ticket #607):
lib/libc/arch/i386/gen/isnanl.c: revision 1.6
lib/libc/gdtoa/gdtoa.c: revision 1.2-1.3
lib/libc/arch/x86_64/gen/isnanl.c: revision 1.6
lib/libc/gdtoa/gdtoaimp.h: revision 1.6
sys/arch/m68k/include/ieee.h: revision 1.13
usr.bin/xlint/lint1/scan.l: revision 1.36-1.37
lib/libc/stdio/snprintf_ss.c: revision 1.4
lib/libc/arch/i386/gen/isfinitel.c: revision 1.2
lib/libc/stdio/vfscanf.c: revision 1.38
sys/arch/sparc/include/ieee.h: revision 1.11-1.12
lib/libc/gdtoa/dtoa.c: revision 1.4
lib/libc/stdio/Makefile.inc: revision 1.35
lib/libc/stdio/fvwrite.c: revision 1.17
lib/libc/arch/m68k/gen/fpclassifyl.c: revision 1.2
lib/libc/arch/i386/gen/isinfl.c: revision 1.6
lib/libc/arch/x86_64/gen/isinfl.c: revision 1.6
lib/libc/arch/x86_64/gen/isfinitel.c: revision 1.2
lib/libc/stdio/vfprintf.c: revision 1.55-1.57
lib/libc/stdio/vsnprintf_ss.c: revision 1.3
lib/libc/stdio/vfwprintf.c: revision 1.10
sys/arch/x86/include/ieee.h: revision 1.10
lib/libc/gdtoa/dmisc.c: revision 1.3
lib/libc/gdtoa/Makefile.inc: revision 1.5
sys/arch/hppa/include/ieee.h: revision 1.10
lib/libc/arch/x86_64/gen/fpclassifyl.c: revision 1.3
lib/libc/arch/i386/gen/fpclassifyl.c: revision 1.2
sys/sys/ieee754.h: revision 1.7
lib/libc/gdtoa/gdtoa.h: revision 1.7
include/stdio.h: revision 1.67-1.68
lib/libc/gdtoa/hdtoa.c: revision 1.1-1.4
lib/libc/gdtoa/ldtoa.c: revision 1.1-1.4
defined(_NETBSD_SOURCE) is equivalent to (!defined(_ANSI_SOURCE) &&
!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)), so there's no
need to check both of them.
Fix for issue reported in PR lib/35401 as well as related overflow bugs.
deal with hex doubles.
Instead of abusing stdio to get a signal-safe version of sprintf, provide one.
remove __SAFE
add long double and hex double support from freebsd.
make this compile.
add new prototypes.
add the new files to the build. Note I am not bumping libc now, because
these are not used yet.
Merge the int bit with the high fraction bit. Add constants/macros
needed by gdtoa.
add constants used by gdtoa
since the int bit is merged, do the explicit math.
ext_int bit is no more.
ext_int bit is no more.
- merge change from freebsd
- add support for building as vfprintf.c
- XXX: we strdup to simplify the freeing logic. This should be fixed for
efficiency in the vfprintf case.
use vfwprintf.c
enable wide doubles.
some int -> size_t
deal with sparc64 that has 112 bits of mantissa.
make extended precision gdtoa friendly.
int/size_t changes
make this gdtoa friendly.
remove dup definition
use dtoa() instead of returning empty when we don't have extended precision
information.
Fix previous, add forgotten pointer dereference in the call to dtoa().
Add a cheesy workaround marked XXX for the situation where the
strtod() implementation available in the environment does not
handle hex floats.
Discussed with and suggested by christos
From Christos: gdtoa fixes for m68k. M68k ports should build now, but
printing extended precision is a little off.
vax does not have <machine/ieee.h> or long double
It would be nice if the compiler provided something like __IEEE_MATH__
bring in FreeBSD's vfscanf() to gain multi-byte/collation support.
Unfortunately it is too difficult to make vfwscanf and this share
the same code like I did with printf, because for string parsing
the code is too different.
 1.6.26.1 21-Apr-2010  matt sync to netbsd-5
 1.6.24.1 16-Aug-2009  snj Pull up following revision(s) (requested by christos in ticket #913):
lib/libc/gdtoa/gdtoaimp.h: revision 1.7
Change Kmax so we allocate enough freelist entries to handle large field
numbers. Reported by Maksymilian Arciemowicz
 1.6.22.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.6.18.1 16-Aug-2009  snj Pull up following revision(s) (requested by christos in ticket #913):
lib/libc/gdtoa/gdtoaimp.h: revision 1.7
Change Kmax so we allocate enough freelist entries to handle large field
numbers. Reported by Maksymilian Arciemowicz
 1.7.2.1 08-Feb-2011  bouyer Sync with HEAD
 1.11.2.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.12.2.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.12.2.1 17-Apr-2012  yamt sync with head
 1.13.2.1 23-Jun-2013  tls resync from head
 1.14.30.1 08-Dec-2019  martin Pull up following revision(s) (requested by riastradh in ticket #506):

lib/libc/gdtoa/Makefile.inc: revision 1.11
lib/libc/gdtoa/gdtoa_fltrnds.h: revision 1.2
lib/libc/gdtoa/gdtoaimp.h: revision 1.15
lib/libc/gdtoa/gdtoaimp.h: revision 1.17

Honour the floating-point rounding mode in floating-point formatting.

C99, Sec. 7.19.6.1 `The fprintf function', paragraph 13, p. 281:
(Recommended practice)
For e, E, f, F, g, and G conversions, if the number of significant
decimal digits is at most DECIMAL_DIG, then the result should be
correctly rounded. If the number of significant decimal digits is
more than DECIMAL_DIG but the source value is exactly
representable with DECIMAL_DIG digits, then the result should be
an exact representation with trailing zeros. Otherwise, the
source value is bounded by two adjacent decimal strings L < U,
both having DECIMAL_DIG significant idgits; the value of the
resultant decimal string D should satisfy L <= D <= U, _with the
extra stipulation that the error should have a correct sign for
the current rounding direction_. [emphasis added]

The gdtoa code base already supports respecting the floating-point
rounding mode, as long as we compile it with Honor_FLT_ROUNDS
defined. However, for this to work, fegetround must be available in
libc, which it is not currently -- the fenv logic is in libm.

Fortunately, we don't have to move all of fenv from libm to libc --
programs that do not link against libm don't have fesetround, so the
rounding mode is always the default (barring asm shenanigans that
bypass the API -- tough). So use a weak reference to fegetround; by
default, assume FE_TONEAREST if it is not defined.

Mark the libc fegetround weak reference unused.
Not all .c files that include gdtoaimp.h use it, which makes clang
unhappy.
 1.14.28.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.7 22-Feb-2020  kamil Avoid unportable left shift construct

left shift of 9 by 28 places cannot be represented in type 'int'
 1.6 19-Apr-2013  joerg branches: 1.6.28;
Pass locale down to gethex as well.
 1.5 20-Mar-2011  christos branches: 1.5.4; 1.5.10;
Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.4 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.3 11-Mar-2006  kleink branches: 1.3.4; 1.3.6; 1.3.14;
Const poisoning.
 1.2 25-Jan-2006  kleink * Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
done in strtod.c.
* Some const poisoning, more to follow.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.3.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.3.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.3.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.5.10.1 23-Jun-2013  tls resync from head
 1.5.4.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.6.28.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.4 13-Mar-2012  christos PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@
 1.3 11-Mar-2006  kleink branches: 1.3.44;
Const poisoning.
 1.2 25-Jan-2006  kleink * Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
done in strtod.c.
* Some const poisoning, more to follow.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.3.44.1 17-Apr-2012  yamt sync with head
 1.2 25-Jan-2006  kleink * Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
done in strtod.c.
* Some const poisoning, more to follow.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.14 09-Jun-2024  jakllsch Fix hdtoa() for VAX D floating point
 1.13 09-May-2024  riastradh Revert various broken changes to printf %La (hldtoa).

This reverts:

hdtoa.c 1.12 (PR/56247: Greg A. Woods: printf("%La", LDBL_MIN) dumps core)
hdtoa.c 1.11 (fix tyop)
hdtoa.c 1.10 (Via enh at google dot com in tech-userlevel. Fix handling of
EXT_FRAC{H,L}BITS (although we don't need to since we don't have them).)

The underlying motivation for this change was that when ld128 is
decomposed into 4x32 words, this hldtoa logic is broken.

But we don't decompose ld128 into 4x32 words; we decompose it into
6x64 words.

And the change, which was supposed to be a noop in our case of 2x64
words (or similar for x87 80-bit floating-point), broke it to the
point of causing buffer overruns (PR 56247) which when worked around
led to just incorrect output output (PR 56937).

If we want to make the #ifdefs for 4x32 words work, that's fine, but
we absolutely must have automatic test cases to detect this kind of
regression because %La formatting is extremely important for
diagnosing details of floating-point data since it doesn't involve
rounding in binary formats. For now I've added some trivial tests;
there is a more extensive test suite inside gdtoa that we need to
wire up before anyone tries any other shenanigans in this code.

PR lib/56937: printf(3) long double %a formatting is broken
 1.12 15-Jun-2021  christos branches: 1.12.2;
PR/56247: Greg A. Woods: printf("%La", LDBL_MIN) dumps core
Don't write to ((char *)malloc(size))[-1];
 1.11 11-Apr-2020  christos fix tyop
 1.10 11-Apr-2020  christos Via enh at google dot com in tech-userlevel. Fix handling of
EXT_FRAC{H,L}BITS (although we don't need to since we don't have them).
 1.9 04-Jul-2011  mrg branches: 1.9.42;
avoid some uninitalised variable warnings.
 1.8 21-Mar-2011  enami Don't use #endif where #else is expected.
 1.7 21-Mar-2011  christos pacify lint.
 1.6 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.5 26-Feb-2007  christos branches: 1.5.2;
deal with the vax in a slightly disgusting way.
 1.4 23-Feb-2007  christos vax does not have <machine/ieee.h> or long double
It would be nice if the compiler provided something like __IEEE_MATH__
 1.3 03-Feb-2007  christos int/size_t changes
 1.2 03-Feb-2007  christos some int -> size_t
deal with sparc64 that has 112 bits of mantissa.
 1.1 02-Feb-2007  christos add long double and hex double support from freebsd.
 1.5.2.4 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.5.2.3 12-May-2007  snj branches: 1.5.2.3.2; 1.5.2.3.4;
Pull up following revision(s) (requested by mhitch in ticket #646):
lib/libc/gdtoa/hdtoa.c: revision 1.5
sys/arch/vax/include/vaxfp.h: revision 1.6
deal with the vax in a slightly disgusting way.
Provide constants for the widths of the bitfields and use them.
 1.5.2.2 07-May-2007  pavel Pull up following revision(s) (requested by manu in ticket #607):
lib/libc/arch/i386/gen/isnanl.c: revision 1.6
lib/libc/gdtoa/gdtoa.c: revision 1.2-1.3
lib/libc/arch/x86_64/gen/isnanl.c: revision 1.6
lib/libc/gdtoa/gdtoaimp.h: revision 1.6
sys/arch/m68k/include/ieee.h: revision 1.13
usr.bin/xlint/lint1/scan.l: revision 1.36-1.37
lib/libc/stdio/snprintf_ss.c: revision 1.4
lib/libc/arch/i386/gen/isfinitel.c: revision 1.2
lib/libc/stdio/vfscanf.c: revision 1.38
sys/arch/sparc/include/ieee.h: revision 1.11-1.12
lib/libc/gdtoa/dtoa.c: revision 1.4
lib/libc/stdio/Makefile.inc: revision 1.35
lib/libc/stdio/fvwrite.c: revision 1.17
lib/libc/arch/m68k/gen/fpclassifyl.c: revision 1.2
lib/libc/arch/i386/gen/isinfl.c: revision 1.6
lib/libc/arch/x86_64/gen/isinfl.c: revision 1.6
lib/libc/arch/x86_64/gen/isfinitel.c: revision 1.2
lib/libc/stdio/vfprintf.c: revision 1.55-1.57
lib/libc/stdio/vsnprintf_ss.c: revision 1.3
lib/libc/stdio/vfwprintf.c: revision 1.10
sys/arch/x86/include/ieee.h: revision 1.10
lib/libc/gdtoa/dmisc.c: revision 1.3
lib/libc/gdtoa/Makefile.inc: revision 1.5
sys/arch/hppa/include/ieee.h: revision 1.10
lib/libc/arch/x86_64/gen/fpclassifyl.c: revision 1.3
lib/libc/arch/i386/gen/fpclassifyl.c: revision 1.2
sys/sys/ieee754.h: revision 1.7
lib/libc/gdtoa/gdtoa.h: revision 1.7
include/stdio.h: revision 1.67-1.68
lib/libc/gdtoa/hdtoa.c: revision 1.1-1.4
lib/libc/gdtoa/ldtoa.c: revision 1.1-1.4
defined(_NETBSD_SOURCE) is equivalent to (!defined(_ANSI_SOURCE) &&
!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)), so there's no
need to check both of them.
Fix for issue reported in PR lib/35401 as well as related overflow bugs.
deal with hex doubles.
Instead of abusing stdio to get a signal-safe version of sprintf, provide one.
remove __SAFE
add long double and hex double support from freebsd.
make this compile.
add new prototypes.
add the new files to the build. Note I am not bumping libc now, because
these are not used yet.
Merge the int bit with the high fraction bit. Add constants/macros
needed by gdtoa.
add constants used by gdtoa
since the int bit is merged, do the explicit math.
ext_int bit is no more.
ext_int bit is no more.
- merge change from freebsd
- add support for building as vfprintf.c
- XXX: we strdup to simplify the freeing logic. This should be fixed for
efficiency in the vfprintf case.
use vfwprintf.c
enable wide doubles.
some int -> size_t
deal with sparc64 that has 112 bits of mantissa.
make extended precision gdtoa friendly.
int/size_t changes
make this gdtoa friendly.
remove dup definition
use dtoa() instead of returning empty when we don't have extended precision
information.
Fix previous, add forgotten pointer dereference in the call to dtoa().
Add a cheesy workaround marked XXX for the situation where the
strtod() implementation available in the environment does not
handle hex floats.
Discussed with and suggested by christos
From Christos: gdtoa fixes for m68k. M68k ports should build now, but
printing extended precision is a little off.
vax does not have <machine/ieee.h> or long double
It would be nice if the compiler provided something like __IEEE_MATH__
bring in FreeBSD's vfscanf() to gain multi-byte/collation support.
Unfortunately it is too difficult to make vfwscanf and this share
the same code like I did with printf, because for string parsing
the code is too different.
 1.5.2.1 26-Feb-2007  pavel file hdtoa.c was added on branch netbsd-4 on 2007-05-07 19:49:06 +0000
 1.5.2.3.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.5.2.3.2.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.9.42.1 21-Apr-2020  martin Sync with HEAD
 1.12.2.1 22-Aug-2024  martin Pull up following revision(s) (requested by riastradh in ticket #787):

tests/lib/libc/stdio/t_printf.c: revision 1.17
tests/lib/libc/stdio/t_printf.c: revision 1.18
lib/libc/gdtoa/hdtoa.c: revision 1.13
tests/lib/libc/stdio/t_printf.c: revision 1.11
tests/lib/libc/stdio/t_printf.c: revision 1.12
tests/lib/libc/stdio/t_printf.c: revision 1.13
tests/lib/libc/stdio/t_printf.c: revision 1.14
tests/lib/libc/stdio/t_printf.c: revision 1.15
tests/lib/libc/stdio/t_printf.c: revision 1.16

tests/lib/libc/stdio/t_printf: Add a couple simple %La tests.

PR lib/56937: printf(3) long double %a formatting is broken
tests/lib/libc/stdio/t_printf: Fix %La test.
0xa.99ap+0 is closer to (long double)10.6 in x86 ld80 and in
binary128 (and possibly more formats, haven't verified).
tests/lib/libc/stdio/t_printf: Fix %a test the same way.
tests/lib/libc/stdio/t_printf: Add another %La test.

This one was adapted from the screw case shown in
https://mail-index.netbsd.org/tech-userlevel/2020/04/11/msg012329.html
which wasn't broken in our libc, but which nevertheless prompted us
to commit a wrong and apparently untested patch that has rendered
printf %La broken for the last four years, which is a little
embarrassing. (The part of that patch that led to a buffer overrun
has been worked around, so now the output is just incorrect.)

PR lib/56937: printf(3) long double %a formatting is broken

Revert various broken changes to printf %La (hldtoa).
This reverts:
hdtoa.c 1.12 (PR/56247: Greg A. Woods: printf("%La", LDBL_MIN) dumps core)
hdtoa.c 1.11 (fix tyop)
hdtoa.c 1.10 (Via enh at google dot com in tech-userlevel. Fix handling of
EXT_FRAC{H,L}BITS (although we don't need to since we don't have them).)

The underlying motivation for this change was that when ld128 is
decomposed into 4x32 words, this hldtoa logic is broken.

But we don't decompose ld128 into 4x32 words; we decompose it into
6x64 words.

And the change, which was supposed to be a noop in our case of 2x64
words (or similar for x87 80-bit floating-point), broke it to the
point of causing buffer overruns (PR 56247) which when worked around
led to just incorrect output output (PR 56937).
If we want to make the #ifdefs for 4x32 words work, that's fine, but
we absolutely must have automatic test cases to detect this kind of
regression because %La formatting is extremely important for
diagnosing details of floating-point data since it doesn't involve
rounding in binary formats. For now I've added some trivial tests;
there is a more extensive test suite inside gdtoa that we need to
wire up before anyone tries any other shenanigans in this code.

PR lib/56937: printf(3) long double %a formatting is broken
tests/lib/libc/stdio/t_printf: Fix another rounding error.
Noted by kre.

This doesn't break a passing test or fix a failed test, at least on
x86 -- our printf produces `0x1.533p+3' for the double case and
`0xa.99ap+0' for the long double case. But of the hexadecimal number
literals that that start with 0x5 having three hexadigits to the
right of the fractional point, 0x5.4cdp+1 closest to the IEEE 754
binary64, VAX D, x86 extended precision, and IEEE 754 binary128
floating-point numbers closest to 10.6.

The reason is that the number 10.6 (or the nearest floating-point
number in any format with enough precision) is:
101.0100 1100 1100|1100... * 2^1 = 0x5.4cc|c...p+1
If we round at the vertical bar to the _nearest_ output with three
hexadigits of precision, the result is:
101.0100 1100 1101 * 2^1 = 0x5.4cdp+1
tests/lib/libc/stdio/t_printf: Fix typo in ld128 case.
printf %La does not write the `L' suffix.
tests/lib/libc/stdio/t_printf: Fix sign error in ld128 case.

Also link back to where the test case came from.
 1.5 21-Mar-2011  christos fix some lint on i386
 1.4 20-Mar-2011  christos Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.3 11-Mar-2006  kleink Const poisoning.
 1.2 25-Jan-2006  kleink * Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
done in strtod.c.
* Some const poisoning, more to follow.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.6 01-Aug-2019  riastradh Sprinkle some more const in.
 1.5 13-Mar-2016  christos branches: 1.5.16;
PR/50937: Henning Petersen: Fix subnormal printf for long double x86. From
FreeBSD PR 85080.
 1.4 23-Feb-2007  christos branches: 1.4.2;
vax does not have <machine/ieee.h> or long double
It would be nice if the compiler provided something like __IEEE_MATH__
 1.3 04-Feb-2007  uwe Fix previous, add forgotten pointer dereference in the call to dtoa().
 1.2 04-Feb-2007  christos use dtoa() instead of returning empty when we don't have extended precision
information.
 1.1 02-Feb-2007  christos add long double and hex double support from freebsd.
 1.4.2.2 07-May-2007  pavel Pull up following revision(s) (requested by manu in ticket #607):
lib/libc/arch/i386/gen/isnanl.c: revision 1.6
lib/libc/gdtoa/gdtoa.c: revision 1.2-1.3
lib/libc/arch/x86_64/gen/isnanl.c: revision 1.6
lib/libc/gdtoa/gdtoaimp.h: revision 1.6
sys/arch/m68k/include/ieee.h: revision 1.13
usr.bin/xlint/lint1/scan.l: revision 1.36-1.37
lib/libc/stdio/snprintf_ss.c: revision 1.4
lib/libc/arch/i386/gen/isfinitel.c: revision 1.2
lib/libc/stdio/vfscanf.c: revision 1.38
sys/arch/sparc/include/ieee.h: revision 1.11-1.12
lib/libc/gdtoa/dtoa.c: revision 1.4
lib/libc/stdio/Makefile.inc: revision 1.35
lib/libc/stdio/fvwrite.c: revision 1.17
lib/libc/arch/m68k/gen/fpclassifyl.c: revision 1.2
lib/libc/arch/i386/gen/isinfl.c: revision 1.6
lib/libc/arch/x86_64/gen/isinfl.c: revision 1.6
lib/libc/arch/x86_64/gen/isfinitel.c: revision 1.2
lib/libc/stdio/vfprintf.c: revision 1.55-1.57
lib/libc/stdio/vsnprintf_ss.c: revision 1.3
lib/libc/stdio/vfwprintf.c: revision 1.10
sys/arch/x86/include/ieee.h: revision 1.10
lib/libc/gdtoa/dmisc.c: revision 1.3
lib/libc/gdtoa/Makefile.inc: revision 1.5
sys/arch/hppa/include/ieee.h: revision 1.10
lib/libc/arch/x86_64/gen/fpclassifyl.c: revision 1.3
lib/libc/arch/i386/gen/fpclassifyl.c: revision 1.2
sys/sys/ieee754.h: revision 1.7
lib/libc/gdtoa/gdtoa.h: revision 1.7
include/stdio.h: revision 1.67-1.68
lib/libc/gdtoa/hdtoa.c: revision 1.1-1.4
lib/libc/gdtoa/ldtoa.c: revision 1.1-1.4
defined(_NETBSD_SOURCE) is equivalent to (!defined(_ANSI_SOURCE) &&
!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)), so there's no
need to check both of them.
Fix for issue reported in PR lib/35401 as well as related overflow bugs.
deal with hex doubles.
Instead of abusing stdio to get a signal-safe version of sprintf, provide one.
remove __SAFE
add long double and hex double support from freebsd.
make this compile.
add new prototypes.
add the new files to the build. Note I am not bumping libc now, because
these are not used yet.
Merge the int bit with the high fraction bit. Add constants/macros
needed by gdtoa.
add constants used by gdtoa
since the int bit is merged, do the explicit math.
ext_int bit is no more.
ext_int bit is no more.
- merge change from freebsd
- add support for building as vfprintf.c
- XXX: we strdup to simplify the freeing logic. This should be fixed for
efficiency in the vfprintf case.
use vfwprintf.c
enable wide doubles.
some int -> size_t
deal with sparc64 that has 112 bits of mantissa.
make extended precision gdtoa friendly.
int/size_t changes
make this gdtoa friendly.
remove dup definition
use dtoa() instead of returning empty when we don't have extended precision
information.
Fix previous, add forgotten pointer dereference in the call to dtoa().
Add a cheesy workaround marked XXX for the situation where the
strtod() implementation available in the environment does not
handle hex floats.
Discussed with and suggested by christos
From Christos: gdtoa fixes for m68k. M68k ports should build now, but
printing extended precision is a little off.
vax does not have <machine/ieee.h> or long double
It would be nice if the compiler provided something like __IEEE_MATH__
bring in FreeBSD's vfscanf() to gain multi-byte/collation support.
Unfortunately it is too difficult to make vfwscanf and this share
the same code like I did with printf, because for string parsing
the code is too different.
 1.4.2.1 23-Feb-2007  pavel file ldtoa.c was added on branch netbsd-4 on 2007-05-07 19:49:06 +0000
 1.5.16.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.4 20-Mar-2011  christos Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.3 25-Jan-2006  kleink Revert previous, unintended change.
 1.2 25-Jan-2006  kleink * Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
done in strtod.c.
* Some const poisoning, more to follow.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.11 21-Nov-2011  mlelstv one more error path that didn't free a lock.
 1.10 18-Nov-2011  martin Release dtoa lock before returning, pointed out by enami.
 1.9 18-Nov-2011  christos unlock before returning on error, thanks enami.
 1.8 18-Nov-2011  christos PR/45627: Martin Husemann: Plug memory leak
 1.7 21-Mar-2011  christos branches: 1.7.4;
fix some lint on i386
 1.6 20-Mar-2011  christos Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.5 30-Jan-2009  lukem sign-compare fix
 1.4 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.3 15-Oct-2006  christos branches: 1.3.2; 1.3.4; 1.3.12;
static before const.
 1.2 25-Jan-2006  kleink * Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
done in strtod.c.
* Some const poisoning, more to follow.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.3.12.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.3.4.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.3.2.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.7.4.1 17-Apr-2012  yamt sync with head
 1.2 19-Mar-2011  christos don't need these and they break the build
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.2 19-Mar-2011  christos don't need these and they break the build
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.2 25-Jan-2006  kleink * Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
done in strtod.c.
* Some const poisoning, more to follow.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.5 13-Mar-2012  christos PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@
 1.4 20-Mar-2011  christos branches: 1.4.4;
Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.3 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.2 25-Jan-2006  kleink branches: 1.2.4; 1.2.6; 1.2.14;
* Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
done in strtod.c.
* Some const poisoning, more to follow.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.2.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.2.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.2.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.4.4.1 17-Apr-2012  yamt sync with head
 1.2 19-Mar-2011  christos don't need these and they break the build
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.3 01-Aug-2019  riastradh Sprinkle some more const in.
 1.2 21-Mar-2008  christos branches: 1.2.66;
Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.14;
Import gdtoa-2005-09-23; test suite will be imported separately.
 1.1.1.1.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.1.1.1.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.1.1.1.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.2.66.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.3 01-Aug-2019  riastradh Sprinkle some more const in.
 1.2 21-Mar-2008  christos branches: 1.2.66;
Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.14;
Import gdtoa-2005-09-23; test suite will be imported separately.
 1.1.1.1.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.1.1.1.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.1.1.1.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.2.66.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.3 01-Aug-2019  riastradh Sprinkle some more const in.
 1.2 21-Mar-2008  christos branches: 1.2.66;
Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.14;
Import gdtoa-2005-09-23; test suite will be imported separately.
 1.1.1.1.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.1.1.1.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.1.1.1.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.2.66.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.3 01-Aug-2019  riastradh Sprinkle some more const in.
 1.2 21-Mar-2008  christos branches: 1.2.66;
Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.14;
Import gdtoa-2005-09-23; test suite will be imported separately.
 1.1.1.1.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.1.1.1.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.1.1.1.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.2.66.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.5 06-May-2021  christos PR/56148: Andreas Gustafsson: lib/libc/stdio/t_printf:snprintf_float test
randomly fails.
Add checks to all places where lshift is called because it can return NULL
 1.4 01-Aug-2019  riastradh Sprinkle some more const in.
 1.3 20-Mar-2011  christos branches: 1.3.44;
Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.2 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.14;
Import gdtoa-2005-09-23; test suite will be imported separately.
 1.1.1.1.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.1.1.1.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.1.1.1.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.3.44.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.3 01-Aug-2019  riastradh Sprinkle some more const in.
 1.2 21-Mar-2008  christos branches: 1.2.66;
Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.14;
Import gdtoa-2005-09-23; test suite will be imported separately.
 1.1.1.1.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.1.1.1.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.1.1.1.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.2.66.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.3 01-Aug-2019  riastradh Sprinkle some more const in.
 1.2 21-Mar-2008  christos branches: 1.2.66;
Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.14;
Import gdtoa-2005-09-23; test suite will be imported separately.
 1.1.1.1.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.1.1.1.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.1.1.1.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.2.66.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.20 23-Jan-2024  christos fix vax build (unused variable)
 1.19 11-Aug-2023  mrg remove the -O0 force for _int_strtod_l() and GCC 9, it's fixed in GCC 10 and 12.

this was triggering sh3 GCC 12 to fail compiles because of ssp.h's memcpy()
frontend having the always_inline attribute that didn't match -O0 or so.

tested with pkgsrc gcc9 to confirm it hangs there, but newer versions are fine.

also known as PR#55668, which now has a real fix (gcc 10 :-).
 1.18 06-May-2021  christos branches: 1.18.6;
PR/56148: Andreas Gustafsson: lib/libc/stdio/t_printf:snprintf_float test
randomly fails.
Add checks to all places where lshift is called because it can return NULL
 1.17 18-Sep-2020  christos delint
 1.16 18-Sep-2020  christos PR/55668: Martin Husemann: Disable optimization to avoid infinite loop.
Also bring in a few changes from the most recent gdtoa code (not relevant
to the bug).
 1.15 01-Aug-2019  riastradh Sprinkle some more const in.
 1.14 17-May-2013  joerg branches: 1.14.28;
Provide explicit LC_C_LOCALE accessor and drop the various NULL checks.
Provide LC_GLOBAL_LOCALE in a way that works with all locale functions.
Merge constant data used by the initial global locale and the C locale.
Drop function call layer for _current_locale() and directly return the
locale reference, not a pointer to it. Use protected access for global
variables, so that libc references can avoid the GOT overhead.
 1.13 19-Apr-2013  joerg Pass locale down to gethex as well.
 1.12 18-Apr-2013  joerg Add strtof_l, strtod_l and strtold_l.
 1.11 22-Mar-2012  christos branches: 1.11.2;
add constcond, make shifts unsigned
 1.10 22-Mar-2012  he A few modifications to make this build for vax:
* The decpt variable is only used if INFNAN_CHECK, which isn't defined
for vax.
* Use a cast to avoid warning about shift of a signed variable.
* Mark a condition as (potentially) a constant condition.
 1.9 13-Mar-2012  christos PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@
 1.8 27-Mar-2011  he branches: 1.8.4;
Fix this so that it builds for vax; where the compiler balks at the
mixture of a union and a double in an expression (imagine that!)
I see other similar uses, and how they pass through for other ports
is beyond me, but I have not touched them in this round.

OK'ed by christos@
 1.7 21-Mar-2011  christos more de-linting.
 1.6 20-Mar-2011  christos Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.5 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.4 02-Jun-2006  mrg branches: 1.4.4; 1.4.6; 1.4.14;
initialise some variables for gcc.
 1.3 15-Mar-2006  kleink Add strtof(3) and strtold(3); welcome libc 12.137.
 1.2 25-Jan-2006  kleink * Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
done in strtod.c.
* Some const poisoning, more to follow.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.4.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.4.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.4.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.8.4.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.8.4.1 17-Apr-2012  yamt sync with head
 1.11.2.1 23-Jun-2013  tls resync from head
 1.14.28.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.18.6.1 20-Jul-2024  martin Pull up following revision(s) (requested by rin in ticket #749):

lib/libc/gdtoa/strtod.c: revision 1.19

remove the -O0 force for _int_strtod_l() and GCC 9, it's fixed in GCC 10
and 12.

this was triggering sh3 GCC 12 to fail compiles because of ssp.h's memcpy()
frontend having the always_inline attribute that didn't match -O0 or so.
tested with pkgsrc gcc9 to confirm it hangs there, but newer versions
are fine.

also known as PR#55668, which now has a real fix (gcc 10 :-).
 1.4 01-Aug-2019  riastradh Sprinkle some more const in.
 1.3 20-Mar-2011  christos branches: 1.3.44;
Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.2 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.14;
Import gdtoa-2005-09-23; test suite will be imported separately.
 1.1.1.1.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.1.1.1.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.1.1.1.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.3.44.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.13 06-May-2021  christos PR/56148: Andreas Gustafsson: lib/libc/stdio/t_printf:snprintf_float test
randomly fails.
Add checks to all places where lshift is called because it can return NULL
 1.12 19-Apr-2013  joerg Pass locale down to gethex as well.
 1.11 18-Apr-2013  joerg Add strtof_l, strtod_l and strtold_l.
 1.10 22-Mar-2012  he branches: 1.10.2;
A few fixes to make this build for vax:
* The fivesbits[] variable is not used for vax
* The decpt variable is only used if INFNAN_CHECK, which isn't
defined for vax
 1.9 13-Mar-2012  christos PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@
 1.8 21-Mar-2011  christos branches: 1.8.4;
more de-linting.
 1.7 20-Mar-2011  christos Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.6 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.5 02-Jun-2006  mrg branches: 1.5.4; 1.5.6; 1.5.14;
initialise some variables for gcc.
 1.4 19-Mar-2006  christos Coverity CID 590: since bdif > 0, k = bdif - 1 >= 0, so k < 0 cannot happen.
Remove dead code.
 1.3 11-Mar-2006  kleink Const poisoning.
 1.2 25-Jan-2006  kleink * Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
done in strtod.c.
* Some const poisoning, more to follow.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.5.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.5.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.5.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.8.4.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.8.4.1 17-Apr-2012  yamt sync with head
 1.10.2.1 23-Jun-2013  tls resync from head
 1.3 20-Mar-2011  christos Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.2 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.14;
Import gdtoa-2005-09-23; test suite will be imported separately.
 1.1.1.1.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.1.1.1.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.1.1.1.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.7 17-May-2013  joerg Provide explicit LC_C_LOCALE accessor and drop the various NULL checks.
Provide LC_GLOBAL_LOCALE in a way that works with all locale functions.
Merge constant data used by the initial global locale and the C locale.
Drop function call layer for _current_locale() and directly return the
locale reference, not a pointer to it. Use protected access for global
variables, so that libc references can avoid the GOT overhead.
 1.6 18-Apr-2013  joerg Add strtof_l, strtod_l and strtold_l.
 1.5 20-Jun-2011  mrg branches: 1.5.2; 1.5.8;
various build fixes for gcc 4.5. from chuq. XXX i'm not sure all of
these work properly wtf pointer aliasing, but there are no casts at
least...

the lib/libpuffs/puffs_priv.h is definately a real bug fix.

from chuq.
 1.4 20-Mar-2011  christos branches: 1.4.2;
Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.3 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.2 15-Mar-2006  kleink branches: 1.2.4; 1.2.6; 1.2.14;
Add strtof(3) and strtold(3); welcome libc 12.137.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.2.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.2.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.2.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.4.2.1 23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.5.8.1 23-Jun-2013  tls resync from head
 1.5.2.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.8 17-May-2013  joerg Provide explicit LC_C_LOCALE accessor and drop the various NULL checks.
Provide LC_GLOBAL_LOCALE in a way that works with all locale functions.
Merge constant data used by the initial global locale and the C locale.
Drop function call layer for _current_locale() and directly return the
locale reference, not a pointer to it. Use protected access for global
variables, so that libc references can avoid the GOT overhead.
 1.7 18-Apr-2013  joerg Add strtof_l, strtod_l and strtold_l.
 1.6 01-Jul-2011  matt branches: 1.6.2; 1.6.8;
Fix some bugs [exceed array bounds]. Simplify.
 1.5 28-Mar-2008  he Make this build again.
 1.4 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.3 24-Mar-2006  kleink branches: 1.3.4; 1.3.6; 1.3.14;
Revert previous indentation fix to keep the diff to strtof.c as small
as possible.
 1.2 23-Mar-2006  he Fix what has to be a typo -- don't __weak_alias() "strtold" but "strtof".
Also minor indentation fix. Fixes build problem (linking groff's grodvi).
 1.1 15-Mar-2006  kleink Add strtof(3) and strtold(3); welcome libc 12.137.
 1.3.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.3.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.3.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.6.8.1 23-Jun-2013  tls resync from head
 1.6.2.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1 15-Mar-2006  kleink Add strtof(3) and strtold(3); welcome libc 12.137.
 1.1 15-Mar-2006  kleink Add strtof(3) and strtold(3); welcome libc 12.137.
 1.1 15-Mar-2006  kleink Add strtof(3) and strtold(3); welcome libc 12.137.
 1.3 17-May-2013  joerg Provide explicit LC_C_LOCALE accessor and drop the various NULL checks.
Provide LC_GLOBAL_LOCALE in a way that works with all locale functions.
Merge constant data used by the initial global locale and the C locale.
Drop function call layer for _current_locale() and directly return the
locale reference, not a pointer to it. Use protected access for global
variables, so that libc references can avoid the GOT overhead.
 1.2 18-Apr-2013  joerg Add strtof_l, strtod_l and strtold_l.
 1.1 15-Mar-2006  kleink branches: 1.1.44; 1.1.50;
Add strtof(3) and strtold(3); welcome libc 12.137.
 1.1.50.1 23-Jun-2013  tls resync from head
 1.1.44.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.6 18-Apr-2013  joerg Add strtof_l, strtod_l and strtold_l.
 1.5 20-Mar-2011  christos branches: 1.5.4; 1.5.10;
Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.4 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.3 15-Mar-2006  kleink branches: 1.3.4; 1.3.6; 1.3.14;
Add strtof(3) and strtold(3); welcome libc 12.137.
 1.2 25-Jan-2006  kleink * Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
done in strtod.c.
* Some const poisoning, more to follow.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.3.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.3.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.3.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.5.10.1 23-Jun-2013  tls resync from head
 1.5.4.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.4 01-Aug-2019  riastradh Sprinkle some more const in.
 1.3 20-Mar-2011  christos branches: 1.3.44;
Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.2 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.14;
Import gdtoa-2005-09-23; test suite will be imported separately.
 1.1.1.1.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.1.1.1.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.1.1.1.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.3.44.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.4 01-Aug-2019  riastradh Sprinkle some more const in.
 1.3 20-Mar-2011  christos branches: 1.3.44;
Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.2 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.14;
Import gdtoa-2005-09-23; test suite will be imported separately.
 1.1.1.1.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.1.1.1.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.1.1.1.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.3.44.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.4 01-Aug-2019  riastradh Sprinkle some more const in.
 1.3 20-Mar-2011  christos branches: 1.3.44;
Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.2 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.14;
Import gdtoa-2005-09-23; test suite will be imported separately.
 1.1.1.1.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.1.1.1.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.1.1.1.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.3.44.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.6 18-Apr-2013  joerg Add strtof_l, strtod_l and strtold_l.
 1.5 20-Mar-2011  christos branches: 1.5.4; 1.5.10;
Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.4 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.3 15-Mar-2006  kleink branches: 1.3.4; 1.3.6; 1.3.14;
Add strtof(3) and strtold(3); welcome libc 12.137.
 1.2 25-Jan-2006  kleink * Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
done in strtod.c.
* Some const poisoning, more to follow.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.3.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.3.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.3.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.5.10.1 23-Jun-2013  tls resync from head
 1.5.4.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.6 18-Apr-2013  joerg Add strtof_l, strtod_l and strtold_l.
 1.5 20-Mar-2011  christos branches: 1.5.4; 1.5.10;
Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.4 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.3 15-Mar-2006  kleink branches: 1.3.4; 1.3.6; 1.3.14;
Add strtof(3) and strtold(3); welcome libc 12.137.
 1.2 25-Jan-2006  kleink * Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
done in strtod.c.
* Some const poisoning, more to follow.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.3.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.3.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.3.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.5.10.1 23-Jun-2013  tls resync from head
 1.5.4.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.5 01-Aug-2019  riastradh Sprinkle some more const in.
 1.4 20-Mar-2011  christos branches: 1.4.44;
Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.3 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.2 25-Jan-2006  kleink branches: 1.2.4; 1.2.6; 1.2.14;
* Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
done in strtod.c.
* Some const poisoning, more to follow.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.2.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.2.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.2.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.4.44.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.5 18-Apr-2013  joerg Add strtof_l, strtod_l and strtold_l.
 1.4 21-Mar-2008  christos branches: 1.4.6; 1.4.30;
Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.3 11-Mar-2006  kleink branches: 1.3.4; 1.3.6; 1.3.14;
Const poisoning.
 1.2 25-Jan-2006  kleink * Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
done in strtod.c.
* Some const poisoning, more to follow.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.3.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.3.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.3.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.4.30.1 23-Jun-2013  tls resync from head
 1.4.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.3 20-Mar-2011  christos Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.2 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.14;
Import gdtoa-2005-09-23; test suite will be imported separately.
 1.1.1.1.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.1.1.1.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.1.1.1.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.3 20-Mar-2011  christos Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.2 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.14;
Import gdtoa-2005-09-23; test suite will be imported separately.
 1.1.1.1.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.1.1.1.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.1.1.1.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.4 20-Mar-2011  christos Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.3 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.2 25-Jan-2006  kleink branches: 1.2.4; 1.2.6; 1.2.14;
* Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
done in strtod.c.
* Some const poisoning, more to follow.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.2.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.2.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.2.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.4 20-Mar-2011  christos Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.3 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.2 25-Jan-2006  kleink branches: 1.2.4; 1.2.6; 1.2.14;
* Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
done in strtod.c.
* Some const poisoning, more to follow.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.2.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.2.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.2.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.2 21-Mar-2008  christos Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink branches: 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.14;
Import gdtoa-2005-09-23; test suite will be imported separately.
 1.1.1.1.14.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.1.1.1.6.1 03-Jun-2008  skrll Sync with netbsd-4.
 1.1.1.1.4.1 08-Apr-2008  jdc Pull up revisions:
src/lib/libc/gdtoa/dmisc.c 1.4
src/lib/libc/gdtoa/gdtoa.c 1.4
src/lib/libc/gdtoa/gethex.c 1.4
src/lib/libc/gdtoa/misc.c 1.4
src/lib/libc/gdtoa/strtof_vaxf.c 1.4-1.5
src/lib/libc/gdtoa/strtopQ.c 1.4
src/lib/libc/gdtoa/strtopx.c 1.4
src/lib/libc/gdtoa/strtopxL.c 1.4
src/lib/libc/gdtoa/strtord.c 1.4
src/lib/libc/gdtoa/dtoa.c 1.5
src/lib/libc/gdtoa/strtod.c 1.5
src/lib/libc/gdtoa/g_Qfmt.c 1.3
src/lib/libc/gdtoa/g_xLfmt.c 1.3
src/lib/libc/gdtoa/g_xfmt.c 1.3
src/lib/libc/gdtoa/smisc.c 1.3
src/lib/libc/gdtoa/strtof.c 1.3
src/lib/libc/gdtoa/strtorQ.c 1.3
src/lib/libc/gdtoa/strtorx.c 1.3
src/lib/libc/gdtoa/strtorxL.c 1.3
src/lib/libc/gdtoa/g_ddfmt.c 1.2
src/lib/libc/gdtoa/g_dfmt.c 1.2
src/lib/libc/gdtoa/g_ffmt.c 1.2
src/lib/libc/gdtoa/strtoIQ.c 1.2
src/lib/libc/gdtoa/strtoId.c 1.2
src/lib/libc/gdtoa/strtoIdd.c 1.2
src/lib/libc/gdtoa/strtoIf.c 1.2
src/lib/libc/gdtoa/strtoIg.c 1.2
src/lib/libc/gdtoa/strtoIx.c 1.2
src/lib/libc/gdtoa/strtoIxL.c 1.2
src/lib/libc/gdtoa/strtodI.c 1.2
src/lib/libc/gdtoa/strtodnrp.c 1.2
src/lib/libc/gdtoa/strtopd.c 1.2
src/lib/libc/gdtoa/strtopdd.c 1.2
src/lib/libc/gdtoa/strtopf.c 1.2
src/lib/libc/gdtoa/strtordd.c 1.2
src/lib/libc/gdtoa/strtorf.c 1.2
src/lib/libc/gdtoa/sum.c 1.2
src/lib/libc/gdtoa/gdtoa.h 1.8
src/lib/libc/gdtoa/hdtoa.c 1.6
src/lib/libc/gdtoa/strtodg.c 1.6
src/lib/libc/stdio/vfwprintf.c 1.12
(requested by mjf ticket #1120).

Don't coredump on out of memory conditions. This solution leaks, but gdtoa
is too complicated to fix. Try printf %99999999999.9999999999f 2

Make this build again.
 1.3 20-Mar-2011  christos Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.2 25-Jan-2006  kleink * Pacify compiler; delint.
* Add MI NetBSD definitions.
* Rename IEEE_{8087,MC68k} to IEEE_{LITTLE,BIG}_ENDIAN, as previously
done in strtod.c.
* Some const poisoning, more to follow.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.1 25-Jan-2006  kleink branches: 1.1.1;
Initial revision
 1.1.1.2 19-Mar-2011  christos from www.netlib.org
 1.1.1.1 25-Jan-2006  kleink Import gdtoa-2005-09-23; test suite will be imported separately.
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.2 20-Mar-2011  christos Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.2 16-Sep-2021  andvar fix typos in word "successfully", mainly s/succesfully/successfully/.
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.3 20-Oct-2025  nat New port: mac68ksf - Macintosh 68k softfloat.

This commit is all the Makefile glue for the new port which is the mac68k
port with MKSOFTFLOAT set to "yes".

As posted here:
https://mail-index.netbsd.org/port-mac68k/2025/10/14/msg001037.html
 1.2 20-Mar-2011  christos Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.2 20-Mar-2011  christos Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.2 20-Mar-2011  christos Merge the new gdtoa: Note that the built-in tests fail the same way as with
the old gdtoa.
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org
 1.1 19-Mar-2011  christos branches: 1.1.1;
Initial revision
 1.1.1.1 19-Mar-2011  christos from www.netlib.org

RSS XML Feed