strfromd.3: ffix: use \- for minus sign

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-07-02 12:24:45 +02:00
parent 86d93b3eeb
commit b3bb3f58be
1 changed files with 4 additions and 4 deletions

View File

@ -127,13 +127,13 @@ infinity values:
.RS .RS
If If
.I fp .I fp
is a NaN, +NaN, or -NaN, and is a NaN, +NaN, or \-NaN, and
.BR f .BR f
(or (or
.BR a , .BR a ,
.BR e , .BR e ,
.BR g ) .BR g )
is the conversion specifier, the conversion is to "nan", "nan", or "-nan", is the conversion specifier, the conversion is to "nan", "nan", or "\-nan",
respectively. respectively.
If If
.B F .B F
@ -141,11 +141,11 @@ If
.BR A , .BR A ,
.BR E , .BR E ,
.BR G ) .BR G )
is the conversion specifier, the conversion is to "NAN" or "-NAN". is the conversion specifier, the conversion is to "NAN" or "\-NAN".
.PP .PP
Likewise if Likewise if
.I fp .I fp
is infinity, it is converted to [-]inf or [-]INF. is infinity, it is converted to [\-]inf or [\-]INF.
.RE .RE
.PP .PP
A malformed A malformed