diff options
author | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-05-05 15:04:03 +0000 |
---|---|---|
committer | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-05-05 15:04:03 +0000 |
commit | 117886ac9d62dd35a850b0ce74ce7f6974fb8a87 (patch) | |
tree | 6c94e19cacda53a016734509d95f6edf7a19db48 /gcc/testsuite/gfortran.dg | |
parent | 407f9409dd179abee52d24a87c75be84b41c2eb0 (diff) | |
download | gcc-117886ac9d62dd35a850b0ce74ce7f6974fb8a87.tar.gz |
* gfortran.dg/large_real_kind_form_io_2.f90: Use nearest.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113553 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gfortran.dg')
-rw-r--r-- | gcc/testsuite/gfortran.dg/large_real_kind_form_io_2.f90 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gfortran.dg/large_real_kind_form_io_2.f90 b/gcc/testsuite/gfortran.dg/large_real_kind_form_io_2.f90 index 222e1982e1a..5a2899cfedd 100644 --- a/gcc/testsuite/gfortran.dg/large_real_kind_form_io_2.f90 +++ b/gcc/testsuite/gfortran.dg/large_real_kind_form_io_2.f90 @@ -19,13 +19,13 @@ program large_real_kind_form_io_2 if (a /= b(1)) call abort () if (c /= b(2)) call abort () - b(:) = tiny(0.0_k) + b(:) = nearest(tiny(0.0_k),1.0_k) write (tmp, *) b read (tmp, *) a, c if (a /= b(1)) call abort () if (c /= b(2)) call abort () - b(:) = -tiny(0.0_k) + b(:) = nearest(-tiny(0.0_k),-1.0_k) write (tmp, *) b read (tmp, *) a, c if (a /= b(1)) call abort () |