Commit fae867f5 by Joost VandeVondele

re PR fortran/62245 (gfortran miscompiles int() on mips)

        PR fortran/62245
        * intrinsic.texi (INT): clarify result.

From-SVN: r214958
parent e4ca2139
2014-09-05 Joost VandeVondele <vondele@gcc.gnu.org>
PR fortran/62245
* intrinsic.texi (INT): clarify result.
2014-09-03 Fritz Reese <Reese-Fritz@zai.com> 2014-09-03 Fritz Reese <Reese-Fritz@zai.com>
PR fortran/62174 PR fortran/62174
......
...@@ -7370,9 +7370,10 @@ the following rules: ...@@ -7370,9 +7370,10 @@ the following rules:
@item (A) @item (A)
If @var{A} is of type @code{INTEGER}, @code{INT(A) = A} If @var{A} is of type @code{INTEGER}, @code{INT(A) = A}
@item (B) @item (B)
If @var{A} is of type @code{REAL} and @math{|A| < 1}, @code{INT(A)} equals @code{0}. If @var{A} is of type @code{REAL} and @math{|A| < 1}, @code{INT(A)}
If @math{|A| \geq 1}, then @code{INT(A)} equals the largest integer that does not exceed equals @code{0}. If @math{|A| \geq 1}, then @code{INT(A)} is the integer
the range of @var{A} and whose sign is the same as the sign of @var{A}. whose magnitude is the largest integer that does not exceed the magnitude
of @var{A} and whose sign is the same as the sign of @var{A}.
@item (C) @item (C)
If @var{A} is of type @code{COMPLEX}, rule B is applied to the real part of @var{A}. If @var{A} is of type @code{COMPLEX}, rule B is applied to the real part of @var{A}.
@end table @end table
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment