summary refs log tree commit diff
path: root/manual/arith.texi
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-10-09 15:37:39 +0000
committerUlrich Drepper <drepper@redhat.com>2000-10-09 15:37:39 +0000
commit0a7fef01597c934b6f6fd59eee28f30c4674670a (patch)
tree144022261eb1dc80828ff273e7011d0b467d41b4 /manual/arith.texi
parente340a2a2e21c455c57bb19d7495f00f44b666b63 (diff)
downloadglibc-0a7fef01597c934b6f6fd59eee28f30c4674670a.tar.gz
glibc-0a7fef01597c934b6f6fd59eee28f30c4674670a.tar.xz
glibc-0a7fef01597c934b6f6fd59eee28f30c4674670a.zip
Update.
2000-10-09  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): If x == y,
	return y not x.
	* manual/arith.texi (nextafter): Document it.
	* sysdeps/ieee754/ldbl-96/s_nexttoward.c: Fix a comment.
Diffstat (limited to 'manual/arith.texi')
-rw-r--r--manual/arith.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/arith.texi b/manual/arith.texi
index e7f4365c18..1b62d76cc7 100644
--- a/manual/arith.texi
+++ b/manual/arith.texi
@@ -1640,7 +1640,7 @@ false, but @code{signbit (-0.0)} will return a nonzero value.
 The @code{nextafter} function returns the next representable neighbor of
 @var{x} in the direction towards @var{y}.  The size of the step between
 @var{x} and the result depends on the type of the result.  If
-@math{@var{x} = @var{y}} the function simply returns @var{x}.  If either
+@math{@var{x} = @var{y}} the function simply returns @var{y}.  If either
 value is @code{NaN}, @code{NaN} is returned.  Otherwise
 a value corresponding to the value of the least significant bit in the
 mantissa is added or subtracted, depending on the direction.