On 8/19/25 4:27 PM, Jerry D wrote:
On 8/19/25 10:43 AM, Steve Kargl wrote:
Anyone have time to commit the following patch.
Correct documentation of FRACTION intrinsic subprogram
In transripting the Fortran standard language, the expression
in LaTeX $X \times b^{-e}$ was translated into Fortran code.
'b' is the base of the floating point representation and
returned by RADIX(X). But, it returns an INTEGER value, so
RADIX(X)**(-EXPONENT(x)) is zero for any positive exponent.
Use REAL(RADIX(X)).
Hi Steve, I can do it this evening.
--- snip ---
Committed after adding an addition change to align with the index.
commit 2478bdf175d8804d49925b0109cac0bc4e2cb802 (HEAD -> master,
origin/master, origin/HEAD)
Author: Jerry DeLisle <jvdeli...@gcc.gnu.org>
Date: Tue Aug 19 18:33:08 2025 -0700
Fortran: Clean up and fix some refs.
gcc/fortran/ChangeLog:
* intrinsic.texi: Correct the example given for FRACTION.
Move the TEAM_NUMBER section to after the TANPI to align
with the order given in the index.