summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio')
-rw-r--r--newlib/libc/stdio/sprintf.c10
-rw-r--r--newlib/libc/stdio/sscanf.c4
2 files changed, 7 insertions, 7 deletions
diff --git a/newlib/libc/stdio/sprintf.c b/newlib/libc/stdio/sprintf.c
index 55d1a447f..b440fce18 100644
--- a/newlib/libc/stdio/sprintf.c
+++ b/newlib/libc/stdio/sprintf.c
@@ -250,24 +250,24 @@ DESCRIPTION
o f
prints a signed value of the form <<[-]9999.9999>>; takes
- a floating point number
+ a floating-point number
o e
prints a signed value of the form <<[-]9.9999e[+|-]999>>; takes a
- floating point number
+ floating-point number
o E
prints the same way as <<e>>, but using <<E>> to introduce the
- exponent; takes a floating point number
+ exponent; takes a floating-point number
o g
prints a signed value in either <<f>> or <<e>> form, based on given
value and precision---trailing zeros and the decimal point are
- printed only if necessary; takes a floating point number
+ printed only if necessary; takes a floating-point number
o G
prints the same way as <<g>>, but using <<E>> for the exponent if an
- exponent is needed; takes a floating point number
+ exponent is needed; takes a floating-point number
o n
stores (in the same object) a count of the characters written;
diff --git a/newlib/libc/stdio/sscanf.c b/newlib/libc/stdio/sscanf.c
index cab4de7e6..ca80c0e71 100644
--- a/newlib/libc/stdio/sscanf.c
+++ b/newlib/libc/stdio/sscanf.c
@@ -234,11 +234,11 @@ DESCRIPTION
<<(int *arg)>>.
o e, f, g
- Read a floating point number into the corresponding <[arg]>:
+ Read a floating-point number into the corresponding <[arg]>:
<<(float *arg)>>.
o E, F, G
- Read a floating point number into the corresponding <[arg]>:
+ Read a floating-point number into the corresponding <[arg]>:
<<(double *arg)>>.
o i