public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/107870] New: A possible typo in the documentation of 'FLOOR'
@ 2022-11-25 18:00 ninorpereira at gmail dot com
2022-11-25 18:08 ` [Bug fortran/107870] " anlauf at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: ninorpereira at gmail dot com @ 2022-11-25 18:00 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107870
Bug ID: 107870
Summary: A possible typo in the documentation of 'FLOOR'
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: ninorpereira at gmail dot com
Target Milestone: ---
the documentation says: FLOOR(A) returns the greatest integer less than or
equal to X.
better is: FLOOR(A) returns the greatest integer less than or equal to A.
(and then the example must be changed from x to a, or
FLOOR(X) returns the greatest integer less than or equal to X (and then
the example can stay the same).
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/107870] A possible typo in the documentation of 'FLOOR'
2022-11-25 18:00 [Bug fortran/107870] New: A possible typo in the documentation of 'FLOOR' ninorpereira at gmail dot com
@ 2022-11-25 18:08 ` anlauf at gcc dot gnu.org
2022-12-03 20:25 ` anlauf at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: anlauf at gcc dot gnu.org @ 2022-11-25 18:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107870
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2022-11-25
Keywords| |documentation
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #1 from anlauf at gcc dot gnu.org ---
Confirmed. The standard uses A, so let's use that.
The standard nowadays also says about the KIND argument:
KIND (optional) shall be a scalar integer constant expression.
(instead of "initialization expression".)
We might adjust that for all affected intrinsics.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/107870] A possible typo in the documentation of 'FLOOR'
2022-11-25 18:00 [Bug fortran/107870] New: A possible typo in the documentation of 'FLOOR' ninorpereira at gmail dot com
2022-11-25 18:08 ` [Bug fortran/107870] " anlauf at gcc dot gnu.org
@ 2022-12-03 20:25 ` anlauf at gcc dot gnu.org
2022-12-04 19:34 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: anlauf at gcc dot gnu.org @ 2022-12-03 20:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107870
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot gnu.org
Status|NEW |ASSIGNED
CC| |anlauf at gcc dot gnu.org
--- Comment #2 from anlauf at gcc dot gnu.org ---
Submitted: https://gcc.gnu.org/pipermail/fortran/2022-December/058567.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/107870] A possible typo in the documentation of 'FLOOR'
2022-11-25 18:00 [Bug fortran/107870] New: A possible typo in the documentation of 'FLOOR' ninorpereira at gmail dot com
2022-11-25 18:08 ` [Bug fortran/107870] " anlauf at gcc dot gnu.org
2022-12-03 20:25 ` anlauf at gcc dot gnu.org
@ 2022-12-04 19:34 ` cvs-commit at gcc dot gnu.org
2022-12-04 19:43 ` anlauf at gcc dot gnu.org
2022-12-04 19:53 ` ninorpereira at gmail dot com
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-12-04 19:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107870
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Harald Anlauf <anlauf@gcc.gnu.org>:
https://gcc.gnu.org/g:98d6e4b6f1011655da19344bc124a3013b9c0134
commit r13-4485-g98d6e4b6f1011655da19344bc124a3013b9c0134
Author: Harald Anlauf <anlauf@gmx.de>
Date: Sat Dec 3 21:13:48 2022 +0100
Fortran: fix typo in documentation of intrinsic FLOOR [PR107870]
gcc/fortran/ChangeLog:
PR fortran/107870
* intrinsic.texi: Fix typo in documentation of intrinsic FLOOR.
Describe the optional KIND argument to intrinsics as a scalar
constant expression, in accordance with the current standard.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/107870] A possible typo in the documentation of 'FLOOR'
2022-11-25 18:00 [Bug fortran/107870] New: A possible typo in the documentation of 'FLOOR' ninorpereira at gmail dot com
` (2 preceding siblings ...)
2022-12-04 19:34 ` cvs-commit at gcc dot gnu.org
@ 2022-12-04 19:43 ` anlauf at gcc dot gnu.org
2022-12-04 19:53 ` ninorpereira at gmail dot com
4 siblings, 0 replies; 6+ messages in thread
From: anlauf at gcc dot gnu.org @ 2022-12-04 19:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107870
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Target Milestone|--- |13.0
Resolution|--- |FIXED
--- Comment #4 from anlauf at gcc dot gnu.org ---
Fixed for gcc-13. Closing.
Thanks for the report!
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/107870] A possible typo in the documentation of 'FLOOR'
2022-11-25 18:00 [Bug fortran/107870] New: A possible typo in the documentation of 'FLOOR' ninorpereira at gmail dot com
` (3 preceding siblings ...)
2022-12-04 19:43 ` anlauf at gcc dot gnu.org
@ 2022-12-04 19:53 ` ninorpereira at gmail dot com
4 siblings, 0 replies; 6+ messages in thread
From: ninorpereira at gmail dot com @ 2022-12-04 19:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107870
--- Comment #5 from Nino Pereira <ninorpereira at gmail dot com> ---
and to you for being so courteous not to laugh me out of the room.
On Sun, Dec 4, 2022 at 2:43 PM anlauf at gcc dot gnu.org <
gcc-bugzilla@gcc.gnu.org> wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107870
>
> anlauf at gcc dot gnu.org changed:
>
> What |Removed |Added
>
> ----------------------------------------------------------------------------
> Status|ASSIGNED |RESOLVED
> Target Milestone|--- |13.0
> Resolution|--- |FIXED
>
> --- Comment #4 from anlauf at gcc dot gnu.org ---
> Fixed for gcc-13. Closing.
>
> Thanks for the report!
>
> --
> You are receiving this mail because:
> You reported the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-12-04 19:53 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-25 18:00 [Bug fortran/107870] New: A possible typo in the documentation of 'FLOOR' ninorpereira at gmail dot com
2022-11-25 18:08 ` [Bug fortran/107870] " anlauf at gcc dot gnu.org
2022-12-03 20:25 ` anlauf at gcc dot gnu.org
2022-12-04 19:34 ` cvs-commit at gcc dot gnu.org
2022-12-04 19:43 ` anlauf at gcc dot gnu.org
2022-12-04 19:53 ` ninorpereira at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).