Date: Sat, 22 Nov 1997 22:02:48 -0800 (PST) From: Bruce Evans <bde@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/stdio vfscanf.c Message-ID: <199711230602.WAA07387@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 1997/11/22 22:02:48 PST Modified files: lib/libc/stdio vfscanf.c Log: Fixed long double formats. They were mostly not implemented except on systems where long doubles are just doubles. FreeBSD hasn't been such a system since it started using gcc-2.5 many years ago. The fix is of low quality. It loses precision. scanf() of long doubles doesn't seem to be used much, but gdb-4.16 uses %Lg format in its expression parser if it thinks that the system supports printf'ing of long doubles. The symptom was that floating point literals were usually interpreted to be 0.0. Revision Changes Path 1.12 +7 -4 src/lib/libc/stdio/vfscanf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711230602.WAA07387>