nan_inf_fmt.f90: Change case of field width of 8 to +Inf and -Inf.
2005-07-17 Jerry DeLisle <jvdelisle@verizon.net> * gfortran.fortran-torture/execute/nan_inf_fmt.f90: Change case of field width of 8 to +Inf and -Inf. From-SVN: r102124
This commit is contained in:
parent
c625053b71
commit
74792af73d
|
@ -1,3 +1,7 @@
|
|||
2005-07-17 Jerry DeLisle <jvdelisle@verizon.net>
|
||||
* gfortran.fortran-torture/execute/nan_inf_fmt.f90: Change case of field
|
||||
width of 8 to +Inf and -Inf.
|
||||
|
||||
2005-07-17 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
PR c++/22139
|
||||
|
|
|
@ -52,9 +52,9 @@
|
|||
! check a field width = 8
|
||||
fmt = '(F8.0)'
|
||||
write(l,fmt=fmt)pos_inf
|
||||
if (l.ne.'Infinity') call abort
|
||||
if (l.ne.' +Inf') call abort
|
||||
write(l,fmt=fmt)neg_inf
|
||||
if (l.ne.'Infinity') call abort
|
||||
if (l.ne.' -Inf') call abort
|
||||
write(l,fmt=fmt)nan
|
||||
if (l.ne.' NaN') call abort
|
||||
|
||||
|
|
Loading…
Reference in New Issue