Commit ec13a3ef by David Billinghurst Committed by David Billinghurst

re PR fortran/16290 (Test intrinsic_set_exponent.f90 fails on irix6.5)

2004-07-02  David Billinghurst  (David.Billinghurst@riotinto.com)

	PR fortran/16290
	* gfortran.fortran-torture/execute/intrinsic_set_exponent.f90
	Allow for cases without denormalized floating point numbers.

From-SVN: r84018
parent 23f6b2f9
2004-07-02 David Billinghurst (David.Billinghurst@riotinto.com)
PR fortran/16290
* gfortran.fortran-torture/execute/intrinsic_set_exponent.f90
Allow for cases without denormalized floating point numbers.
2004-07-01 Joseph S. Myers <jsm@polyomino.org.uk>
PR c/1027
......
......@@ -12,7 +12,7 @@ subroutine test_real4()
n = -148
x = 1024.0
y = set_exponent (x, n)
if (exponent (y) .ne. n) call abort()
if ((y .ne. 0.0) .and. (exponent (y) .ne. n)) call abort()
n = 8
x = 1024.0
......@@ -27,7 +27,7 @@ subroutine test_real4()
n = -148
x = -1024.0
y = set_exponent (x, n)
if (exponent (y) .ne. n) call abort()
if ((y .ne. 0.0) .and. (exponent (y) .ne. n)) call abort()
n = 8
x = -1024.0
......@@ -51,7 +51,7 @@ subroutine test_real8()
n = -1073
x = 1024.0_8
y = set_exponent (x, n)
if (exponent (y) .ne. n) call abort()
if ((y .ne. 0.0_8) .and. (exponent (y) .ne. n)) call abort()
n = 8
x = 1024.0_8
......@@ -73,7 +73,7 @@ subroutine test_real8()
x = -1024.0
y = set_exponent (x, n)
low = z'00000001'
if (exponent (y) .ne. n) call abort()
if ((y .ne. 0.0) .and. (exponent (y) .ne. n)) call abort()
n = 8
x = -1024.0
......
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