2
! Copyright (C) 1996-2016 The SIESTA group
3
! This file is distributed under the terms of the
4
! GNU General Public License: see COPYING in the top directory
5
! or http://www.gnu.org/copyleft/gpl.txt.
6
! See Docs/Contributors.txt for a list of contributors.
11
! Standard output: one or two integers, corresponding
12
! to the "standard" and "8-byte" integers
14
integer, parameter :: i8b = selected_int_kind(12)
15
integer, parameter :: idef = kind(1)
20
write(unit=*,fmt=*) idef, i8b
21
write(unit=0,fmt=*) "int def: ", idef, " 8-byte int kind: ", i8b
23
write(unit=*,fmt=*) idef
24
write(unit=0,fmt=*) "In your computer the standard int is 8-byte"
27
write(unit=*,fmt=*) idef
28
write(unit=0,fmt=*) "Your computer does not have 8-byte ints!"
32
write(unit=0,fmt=*) "Your computer's int number system is weird..."
36
write(unit=0,fmt=*) "Your computer's default precision int kind is: ", idef
39
end program int_explorer