diff options
author | schweikh <schweikh@FreeBSD.org> | 2002-08-27 20:11:08 +0000 |
---|---|---|
committer | schweikh <schweikh@FreeBSD.org> | 2002-08-27 20:11:08 +0000 |
commit | 57bf7bbe3fac912b8371b0435ecafcca3a923327 (patch) | |
tree | 65fdc6ccfc7daabbf34b98094d23dfc7077bf6d4 /usr.sbin/ppp/link.c | |
parent | eef2c40d6eae1755247ab792bad1cd31d4b7ffca (diff) | |
download | FreeBSD-src-57bf7bbe3fac912b8371b0435ecafcca3a923327.zip FreeBSD-src-57bf7bbe3fac912b8371b0435ecafcca3a923327.tar.gz |
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
Diffstat (limited to 'usr.sbin/ppp/link.c')
0 files changed, 0 insertions, 0 deletions