2004-11-01 20:57:32 +03:00
|
|
|
!
|
2004-11-22 04:38:40 +03:00
|
|
|
! Copyright (c) 2004-2005 The Trustees of Indiana University.
|
|
|
|
! All rights reserved.
|
|
|
|
! Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
|
|
|
! All rights reserved.
|
2004-11-28 23:09:25 +03:00
|
|
|
! Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
! University of Stuttgart. All rights reserved.
|
2005-03-24 15:43:37 +03:00
|
|
|
! Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
! All rights reserved.
|
2004-11-22 04:38:40 +03:00
|
|
|
! $COPYRIGHT$
|
|
|
|
!
|
|
|
|
! Additional copyrights may follow
|
|
|
|
!
|
2004-11-22 03:37:56 +03:00
|
|
|
! $HEADER$
|
|
|
|
!
|
2004-11-01 20:57:32 +03:00
|
|
|
! print_ikinds.f90
|
|
|
|
! - prints out values of selected_int_kind to determine Fortran compiler
|
|
|
|
! dependent values
|
|
|
|
!
|
|
|
|
program main
|
|
|
|
integer :: i
|
2005-01-07 18:28:22 +03:00
|
|
|
!
|
|
|
|
! integer(kind(1_LONG)) :: l = 1_LONG
|
|
|
|
!
|
2004-11-01 20:57:32 +03:00
|
|
|
|
|
|
|
do i = 1, 24
|
|
|
|
print*, "i = ", i, "selected_int_kind(i) = ", selected_int_kind(i)
|
|
|
|
end do
|
|
|
|
|
2005-01-07 18:28:22 +03:00
|
|
|
print*, "kind(1) = ", kind(1)
|
|
|
|
!
|
|
|
|
! print*, "kind(1_LONG) = ", kind(l)
|
|
|
|
!
|
2004-11-01 20:57:32 +03:00
|
|
|
end program main
|