aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2020-07-02 12:24:45 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2020-07-02 12:24:45 +0200
commitb3bb3f58beee12a158d922063208c93d74819f5c (patch)
tree775018cc9e66aae5907500b04926070bdc231273 /man3
parent86d93b3eeb4e9d82dd1b2e02d11ce2add32661f8 (diff)
downloadman-pages-b3bb3f58beee12a158d922063208c93d74819f5c.tar.gz
strfromd.3: ffix: use \- for minus sign
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3')
-rw-r--r--man3/strfromd.38
1 files changed, 4 insertions, 4 deletions
diff --git a/man3/strfromd.3 b/man3/strfromd.3
index e451b454c3..d75e9ef685 100644
--- a/man3/strfromd.3
+++ b/man3/strfromd.3
@@ -127,13 +127,13 @@ infinity values:
.RS
If
.I fp
-is a NaN, +NaN, or -NaN, and
+is a NaN, +NaN, or \-NaN, and
.BR f
(or
.BR a ,
.BR e ,
.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.
If
.B F
@@ -141,11 +141,11 @@ If
.BR A ,
.BR E ,
.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
Likewise if
.I fp
-is infinity, it is converted to [-]inf or [-]INF.
+is infinity, it is converted to [\-]inf or [\-]INF.
.RE
.PP
A malformed