aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-02-17 15:15:51 +0000
committerUlrich Drepper <drepper@redhat.com>1998-02-17 15:15:51 +0000
commit0a61487785ff1f13ce3bb683cd59e520bbb0086f (patch)
tree11b0c5e1e0cbf6272621ebef0638553ecea8151f /manual
parent3858abff55a4088377ceaeeccf5ff06d6129b331 (diff)
downloadglibc-0a61487785ff1f13ce3bb683cd59e520bbb0086f.tar
glibc-0a61487785ff1f13ce3bb683cd59e520bbb0086f.tar.gz
glibc-0a61487785ff1f13ce3bb683cd59e520bbb0086f.tar.bz2
glibc-0a61487785ff1f13ce3bb683cd59e520bbb0086f.zip
Update.
1998-02-17 15:10 Ulrich Drepper <drepper@cygnus.com> * elf/dl-load.c (open_path): Use __xstat instead of stat. * localedata/tst-locale.sh: Comment out first test for now. 1998-02-14 14:58 H.J. Lu <hjl@gnu.org> * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined as 1. * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise. * libio/iogetline.c (_IO_getline_info): Renamed from _IO_getline. (_IO_getline): Just call _IO_getline_info. * libio/libioP.h (_IO_getline_info): New declaration. * libc.map (_IO_getline_info, __write): Added. 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to const char* to shut up gcc. 1998-02-17 11:37 Ulrich Drepper <drepper@cygnus.com> * eld/dl-open.c (_dl_open): Assign correct value to new->l_global. Patch forwarded by Cristian Gafton <gafton@redhat.com>. * math/math.h: Define M_* constants always as `double' and add new macros M_*l which are of type `long double'. * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now. * sysdeps/libm-ieee754/s_cacosl.c: Likewise. * sysdeps/libm-ieee754/s_casinhl.c: Likewise. * sysdeps/libm-ieee754/s_catanhl.c: Likewise. * sysdeps/libm-ieee754/s_catanl.c: Likewise. * sysdeps/libm-ieee754/s_clog10l.c: Likewise. * sysdeps/libm-ieee754/s_clogl.c: Likewise. * math/libm-tst.c: Likewise. * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl, define as long double unconditionally. 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de> * manual/arith.texi (Old-style number conversion): Correct some typos. 1998-02-16 16:28 H.J. Lu <hjl@gnu.org> * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c): Restore. * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
Diffstat (limited to 'manual')
-rw-r--r--manual/arith.texi28
1 files changed, 14 insertions, 14 deletions
diff --git a/manual/arith.texi b/manual/arith.texi
index 3b060689a9..22819b12f4 100644
--- a/manual/arith.texi
+++ b/manual/arith.texi
@@ -1337,7 +1337,7 @@ extensions in the same sense.
Generally, you should avoid using these functions unless the really fit
into the problem you have to to solve. Otherwise it is almost always
-better to use @code{sprinf} since it's greater availability (it is an
+better to use @code{sprintf} since its greater availability (it is an
@w{ISO C} function).
@@ -1387,14 +1387,14 @@ The prototype for this function can be found in @file{stdlib.h}.
@comment SVID, Unix98
@deftypefun {char *} gcvt (double @var{value}, int @var{ndigit}, char *@var{buf})
The @code{gcvt} function also converts @var{value} to a NUL terminated
-string but does in a way similar to the @code{%g} format of
-@code{printf}. It also does not use a static buffer but instead uses
+string but in a way similar to the @code{%g} format of
+@code{sprintf}. It also does not use a static buffer but instead uses
the user-provided buffer starting at @var{buf}. It is the user's
responsibility to make sure the buffer is long enough to contain the
-result. Unlike the @code{ecvt} and @code{fcvt} function @code{gcvt}
-includes the sign and the decimal point character (which is determined
+result. Unlike the @code{ecvt} and @code{fcvt} functions @code{gcvt}
+includes the sign and the decimal point characters (which are determined
according to the current locale) in the result. Therefore there are yet
-less reasons to use this function instead of @code{printf}.
+less reasons to use this function instead of @code{sprintf}.
The return value is @var{buf}.
@@ -1402,11 +1402,11 @@ The prototype for this function can be found in @file{stdlib.h}.
@end deftypefun
-All these three functions have in common that they use @code{double}
-values as the parameters. Calling these functions using @code{long
+All three functions have in common that they use @code{double}
+values as parameter. Calling these functions using @code{long
double} values would mean a loss of precision due to the implicit
rounding. Therefore the GNU C library contains three more functions
-with similar semantic which take @code{long double} values.
+with similar semantics which take @code{long double} values.
@comment stdlib.h
@comment GNU
@@ -1453,7 +1453,7 @@ is no need for a @code{gcvt_r} function.
@deftypefun {char *} ecvt_r (double @var{value}, int @var{ndigit}, int *@var{decpt}, int *@var{sign}, char *@var{buf}, size_t @var{len})
The @code{ecvt_r} function is similar to the @code{ecvt} function except
that it places its result into the user-specified buffer starting at
-@var{buf}.
+@var{buf} with length @var{len}.
This function is a GNU extension. The prototype can be found in
@file{stdlib.h}.
@@ -1464,7 +1464,7 @@ This function is a GNU extension. The prototype can be found in
@deftypefun {char *} fcvt_r (double @var{value}, int @var{ndigit}, int @var{decpt}, int *@var{sign}, char *@var{buf}, size_t @var{len})
The @code{fcvt_r} function is similar to the @code{fcvt} function except
that it places its result into the user-specified buffer starting at
-@var{buf}.
+@var{buf} with length @var{len}.
This function is a GNU extension. The prototype can be found in
@file{stdlib.h}.
@@ -1475,7 +1475,7 @@ This function is a GNU extension. The prototype can be found in
@deftypefun {char *} qecvt_r (long double @var{value}, int @var{ndigit}, int *@var{decpt}, int *@var{sign}, char *@var{buf}, size_t @var{len})
The @code{qecvt_r} function is similar to the @code{qecvt} function except
that it places its result into the user-specified buffer starting at
-@var{buf}.
+@var{buf} with length @var{len}.
This function is a GNU extension. The prototype can be found in
@file{stdlib.h}.
@@ -1483,10 +1483,10 @@ This function is a GNU extension. The prototype can be found in
@comment stdlib.h
@comment GNU
-@deftypefun {char *} qfcvt (long double @var{value}, int @var{ndigit}, int @var{decpt}, int *@var{sign}, char *@var{buf}, size_t @var{len})
+@deftypefun {char *} qfcvt_r (long double @var{value}, int @var{ndigit}, int @var{decpt}, int *@var{sign}, char *@var{buf}, size_t @var{len})
The @code{qfcvt_r} function is similar to the @code{qfcvt} function except
that it places its result into the user-specified buffer starting at
-@var{buf}.
+@var{buf} with length @var{len}.
This function is a GNU extension. The prototype can be found in
@file{stdlib.h}.