docs: fix: WARNING: Parsing of expression failed. Using fallback parser.
For the future, we can use https://sphinx-fortran.readthedocs.io/ for Fortran functions which can have optional arguments. However, it's an additional dependency. Simplify the function declration. gcc/fortran/ChangeLog: * doc/gfortran/intrinsic-procedures/aint.rst: Simplify function declaration. * doc/gfortran/intrinsic-procedures/int.rst: Likewise. * doc/gfortran/intrinsic-procedures/anint.rst: Likewise. * doc/gfortran/intrinsic-procedures/char.rst: Likewise. * doc/gfortran/intrinsic-procedures/real.rst: Likewise.
This commit is contained in:
parent
9c3bc55799
commit
a305ac87b4
5 changed files with 10 additions and 10 deletions
|
@ -16,7 +16,7 @@
|
||||||
AINT --- Truncate to a whole number
|
AINT --- Truncate to a whole number
|
||||||
***********************************
|
***********************************
|
||||||
|
|
||||||
.. function:: AINT(A [, KIND])
|
.. function:: AINT(A, KIND)
|
||||||
|
|
||||||
``AINT(A [, KIND])`` truncates its argument to a whole number.
|
``AINT(A [, KIND])`` truncates its argument to a whole number.
|
||||||
|
|
||||||
|
@ -75,4 +75,4 @@ AINT --- Truncate to a whole number
|
||||||
* - ``DINT(A)``
|
* - ``DINT(A)``
|
||||||
- ``REAL(8) A``
|
- ``REAL(8) A``
|
||||||
- ``REAL(8)``
|
- ``REAL(8)``
|
||||||
- Fortran 77 and later
|
- Fortran 77 and later
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
ANINT --- Nearest whole number
|
ANINT --- Nearest whole number
|
||||||
******************************
|
******************************
|
||||||
|
|
||||||
.. function:: ANINT(A [, KIND])
|
.. function:: ANINT(A, KIND)
|
||||||
|
|
||||||
``ANINT(A [, KIND])`` rounds its argument to the nearest whole number.
|
``ANINT(A [, KIND])`` rounds its argument to the nearest whole number.
|
||||||
|
|
||||||
|
@ -73,4 +73,4 @@ ANINT --- Nearest whole number
|
||||||
* - ``DNINT(A)``
|
* - ``DNINT(A)``
|
||||||
- ``REAL(8) A``
|
- ``REAL(8) A``
|
||||||
- ``REAL(8)``
|
- ``REAL(8)``
|
||||||
- Fortran 77 and later
|
- Fortran 77 and later
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
CHAR --- Character conversion function
|
CHAR --- Character conversion function
|
||||||
**************************************
|
**************************************
|
||||||
|
|
||||||
.. function:: CHAR(I [, KIND])
|
.. function:: CHAR(I, KIND)
|
||||||
|
|
||||||
``CHAR(I [, KIND])`` returns the character represented by the integer :samp:`{I}`.
|
``CHAR(I [, KIND])`` returns the character represented by the integer :samp:`{I}`.
|
||||||
|
|
||||||
|
@ -68,4 +68,4 @@ CHAR --- Character conversion function
|
||||||
See also:
|
See also:
|
||||||
:ref:`ACHAR`,
|
:ref:`ACHAR`,
|
||||||
:ref:`IACHAR`,
|
:ref:`IACHAR`,
|
||||||
:ref:`ICHAR`
|
:ref:`ICHAR`
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
INT --- Convert to integer type
|
INT --- Convert to integer type
|
||||||
*******************************
|
*******************************
|
||||||
|
|
||||||
.. function:: INT(A , KIND))
|
.. function:: INT(A, KIND)
|
||||||
|
|
||||||
Convert to integer type
|
Convert to integer type
|
||||||
|
|
||||||
|
@ -73,4 +73,4 @@ INT --- Convert to integer type
|
||||||
* - ``IDINT(A)``
|
* - ``IDINT(A)``
|
||||||
- ``REAL(8) A``
|
- ``REAL(8) A``
|
||||||
- ``INTEGER``
|
- ``INTEGER``
|
||||||
- Fortran 77 and later
|
- Fortran 77 and later
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
REAL --- Convert to real type
|
REAL --- Convert to real type
|
||||||
******************************
|
******************************
|
||||||
|
|
||||||
.. function:: REAL(A [, KIND])
|
.. function:: REAL(A, KIND)
|
||||||
|
|
||||||
``REAL(A [, KIND])`` converts its argument :samp:`{A}` to a real type. The
|
``REAL(A [, KIND])`` converts its argument :samp:`{A}` to a real type. The
|
||||||
``REALPART`` function is provided for compatibility with :command:`g77`,
|
``REALPART`` function is provided for compatibility with :command:`g77`,
|
||||||
|
@ -101,4 +101,4 @@ REAL --- Convert to real type
|
||||||
- Fortran 77 and later
|
- Fortran 77 and later
|
||||||
|
|
||||||
See also:
|
See also:
|
||||||
:ref:`DBLE`
|
:ref:`DBLE`
|
||||||
|
|
Loading…
Add table
Reference in a new issue