freebsd-dev/lib/libc/stdio
Jens Schweikhardt 3dd657600a Print a '-' sign for negative zero. Tested with
#include <stdio.h>
	int main(void)
	{
		printf("%+f\n", -0.0);
		printf("%+f\n", +0.0);
		printf("%+f\n",  0.0);
		return 0;
	}

to output
-0.000000
+0.000000
+0.000000

PR:		bin/41823
Submitted by:	GOTO Kentaro <gotoken@notwork.org>
Liked by:	bde
MFC after:	3 weeks
2002-08-27 20:11:08 +00:00
..
_flock_stub.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
asprintf.c Leave room for a trailing NUL not a NULL, that's not an ASCII character. 2002-08-19 03:52:36 +00:00
clrerr.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
fclose.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
fclose.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
fdopen.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
feof.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
ferror.3 Cross-reference the fdopen and fileno manpages. 2001-11-14 16:24:51 +00:00
ferror.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
fflush.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
fflush.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
fgetc.c Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
fgetln.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
fgetln.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
fgetpos.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
fgets.3 Grammar fix: "contents" is plural. 2002-05-31 05:01:17 +00:00
fgets.c Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
fgetwc.c Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
fgetws.3 Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
fgetws.c Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
fileno.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
findfp.c Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
flags.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
floatio.h Fix the style of the SCM ID's. 2002-03-22 23:42:05 +00:00
fopen.3 mdoc(7) police: sort xrefs. 2001-11-20 13:58:21 +00:00
fopen.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
fprintf.c - Introduce the 'restrict' qualifier to function prototypes and 2002-08-15 09:47:10 +00:00
fpurge.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
fputc.c Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
fputs.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
fputs.c Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
fputwc.c Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
fputws.3 Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
fputws.c Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
fread.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
fread.c Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
freopen.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
fscanf.c Assume __STDC__, remove non-__STDC__ code. 2002-05-28 17:03:12 +00:00
fseek.3 Note that fseeko() and ftello() are standard in 1003.1-2001. 2002-07-15 19:42:25 +00:00
fseek.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
fsetpos.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
ftell.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
funopen.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
funopen.c Assume __STDC__, remove non-__STDC__ code. 2002-05-28 17:03:12 +00:00
fvwrite.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
fvwrite.h Assume __STDC__, remove non-__STDC__ code. 2002-05-28 17:03:12 +00:00
fwalk.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
fwide.3 FreeBSD-ify: use In macro for header files in Synopsis, St C-99 instead of 2002-08-13 10:47:17 +00:00
fwide.c Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
fwrite.c Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
getc.3 mdoc(7) police: fix markup for types. 2002-05-29 15:42:59 +00:00
getc.c Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
getchar.c Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
gets.c Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
getw.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
getwc.3 FreeBSD-ify: use In macro for header files in Synopsis, St C-99 instead of 2002-08-13 10:47:17 +00:00
getwc.c Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
getwchar.c Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
glue.h Fix the style of the SCM ID's. 2002-03-22 23:42:05 +00:00
local.h o Merge <machine/ansi.h> and <machine/types.h> into a new header 2002-08-21 16:20:02 +00:00
makebuf.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
Makefile.inc Unbreak one of the most confusing breaks of the tree I've seen. 2002-08-13 18:55:51 +00:00
mktemp.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
mktemp.c Correct a check for NUL. 2002-05-27 19:27:43 +00:00
perror.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
printf.3 - For compliance with IEEE Std 1003.1-2001, add the 'restrict' 2002-08-15 10:28:52 +00:00
printf.c - Introduce the 'restrict' qualifier to function prototypes and 2002-08-15 09:47:10 +00:00
putc.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
putc.c Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
putchar.c Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
puts.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
putw.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
putwc.3 FreeBSD-ify: use In macro for header files in Synopsis, St C-99 instead of 2002-08-13 10:47:17 +00:00
putwc.c Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
putwchar.c Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
refill.c Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
remove.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
remove.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
rewind.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
rget.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
scanf.3 mdoc(7) police: markup nits. 2002-05-30 09:53:47 +00:00
scanf.c Assume __STDC__, remove non-__STDC__ code. 2002-05-28 17:03:12 +00:00
setbuf.3 - Add the 'restrict' qualifier to the function definitions and 2002-08-14 23:45:42 +00:00
setbuf.c - Add the 'restrict' qualifier to the function definitions and 2002-08-14 23:45:42 +00:00
setbuffer.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
setvbuf.c - Add the 'restrict' qualifier to the function definitions and 2002-08-14 23:45:42 +00:00
snprintf.c - Introduce the 'restrict' qualifier to function prototypes and 2002-08-15 09:47:10 +00:00
sprintf.c - Introduce the 'restrict' qualifier to function prototypes and 2002-08-15 09:47:10 +00:00
sscanf.c Assume __STDC__, remove non-__STDC__ code. 2002-05-28 17:03:12 +00:00
stdio.3 Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
stdio.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
tempnam.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
tmpfile.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
tmpnam.3 mdoc(7) police: 2002-01-09 14:01:22 +00:00
tmpnam.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00
ungetc.3 mdoc(7) police: Use the new .In macro for #include statements. 2001-10-01 16:09:29 +00:00
ungetc.c Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
ungetwc.3 Remove the Bugs section, which is not relevant to FreeBSD: there is no 2002-08-13 10:50:22 +00:00
ungetwc.c Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
vasprintf.c o Merge <machine/ansi.h> and <machine/types.h> into a new header 2002-08-21 16:20:02 +00:00
vfprintf.c Print a '-' sign for negative zero. Tested with 2002-08-27 20:11:08 +00:00
vfscanf.c Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
vprintf.c o Merge <machine/ansi.h> and <machine/types.h> into a new header 2002-08-21 16:20:02 +00:00
vscanf.c o Merge <machine/ansi.h> and <machine/types.h> into a new header 2002-08-21 16:20:02 +00:00
vsnprintf.c o Merge <machine/ansi.h> and <machine/types.h> into a new header 2002-08-21 16:20:02 +00:00
vsprintf.c o Merge <machine/ansi.h> and <machine/types.h> into a new header 2002-08-21 16:20:02 +00:00
vsscanf.c o Merge <machine/ansi.h> and <machine/types.h> into a new header 2002-08-21 16:20:02 +00:00
wbuf.c Basic support for wide character I/O: getwc(), fgetwc(), getwchar(), 2002-08-13 09:30:41 +00:00
wsetup.c Fix the style of the SCM ID's. 2002-03-22 21:53:29 +00:00