manual: fix finite description [BZ #22596]
Commit Message
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
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?
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.
@@ -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
@@ -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