From 0a7fef01597c934b6f6fd59eee28f30c4674670a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 9 Oct 2000 15:37:39 +0000 Subject: Update. 2000-10-09 Jakub Jelinek * 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. --- manual/arith.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manual/arith.texi') 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. -- cgit 1.4.1