diff mbox series

manual: fix finite description [BZ #22596]

Message ID 20171212174030.7909-1-aurelien@aurel32.net
State New
Headers show
Series manual: fix finite description [BZ #22596] | expand

Commit Message

Aurelien Jarno Dec. 12, 2017, 5:40 p.m. UTC
That way it matches the standard and the behaviour of the finite
function.

Changelog:
	[BZ #22596]
	* manual/arith.texi (finite): Fix the description of the return
	value.
---
 ChangeLog         | 6 ++++++
 manual/arith.texi | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

Comments

Aurelien Jarno Dec. 22, 2017, 7:32 p.m. UTC | #1
On 2017-12-12 18:40, Aurelien Jarno wrote:
> That way it matches the standard and the behaviour of the finite
> function.
> 
> Changelog:
> 	[BZ #22596]
> 	* manual/arith.texi (finite): Fix the description of the return
> 	value.
> ---
>  ChangeLog         | 6 ++++++
>  manual/arith.texi | 4 ++--
>  2 files changed, 8 insertions(+), 2 deletions(-)
> 
> diff --git a/ChangeLog b/ChangeLog
> index b25c57d5b5..f258606e03 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -1,3 +1,9 @@
> +2017-12-12  Aurelien Jarno <aurelien@aurel32.net>
> +
> +	[BZ #22596]
> +	* manual/arith.texi (finite): Fix the description of the return
> +	value.
> +
>  2017-12-12  James Clarke <jrtc27@jrtc27.com>
>  
>  	* sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
> diff --git a/manual/arith.texi b/manual/arith.texi
> index d12a6c9d26..4649bdf956 100644
> --- a/manual/arith.texi
> +++ b/manual/arith.texi
> @@ -467,8 +467,8 @@ function for some reason, you can write
>  @deftypefunx int finitel (long double @var{x})
>  @standards{BSD, math.h}
>  @safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}
> -This function returns a nonzero value if @var{x} is finite or a ``not a
> -number'' value, and zero otherwise.
> +This function returns a nonzero value if @var{x} is neither infinite nor
> +a ``not a number'' value, and zero otherwise.
>  @end deftypefun
>  
>  @strong{Portability Note:} The functions listed in this section are BSD

Is this patch fine, can I commit it?
Joseph Myers Dec. 22, 2017, 7:38 p.m. UTC | #2
On Fri, 22 Dec 2017, Aurelien Jarno wrote:

> > -This function returns a nonzero value if @var{x} is finite or a ``not a
> > -number'' value, and zero otherwise.
> > +This function returns a nonzero value if @var{x} is neither infinite nor
> > +a ``not a number'' value, and zero otherwise.
> >  @end deftypefun
> >  
> >  @strong{Portability Note:} The functions listed in this section are BSD
> 
> Is this patch fine, can I commit it?

This is OK.
diff mbox series

Patch

diff --git a/ChangeLog b/ChangeLog
index b25c57d5b5..f258606e03 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@ 
+2017-12-12  Aurelien Jarno <aurelien@aurel32.net>
+
+	[BZ #22596]
+	* manual/arith.texi (finite): Fix the description of the return
+	value.
+
 2017-12-12  James Clarke <jrtc27@jrtc27.com>
 
 	* sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
diff --git a/manual/arith.texi b/manual/arith.texi
index d12a6c9d26..4649bdf956 100644
--- a/manual/arith.texi
+++ b/manual/arith.texi
@@ -467,8 +467,8 @@  function for some reason, you can write
 @deftypefunx int finitel (long double @var{x})
 @standards{BSD, math.h}
 @safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}
-This function returns a nonzero value if @var{x} is finite or a ``not a
-number'' value, and zero otherwise.
+This function returns a nonzero value if @var{x} is neither infinite nor
+a ``not a number'' value, and zero otherwise.
 @end deftypefun
 
 @strong{Portability Note:} The functions listed in this section are BSD