File: EightByteIntTest.f90

package info (click to toggle)
netcdf-fortran 4.5.3%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 7,456 kB
  • sloc: fortran: 25,848; f90: 20,793; sh: 4,609; ansic: 1,729; makefile: 585; pascal: 292; xml: 173
file content (11 lines) | stat: -rw-r--r-- 377 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
program EightBytIntTest
   use typeSizes
   implicit none

   integer (kind = EightByteInt) :: Eight
   integer                       :: defaultInt

   print *, "Bit size of default int is",         bit_size(defaultInt)
   print *, "Kind parameter for EightByteInt is", EightByteInt
   print *, "Bit size of eight byte int is",      bit_size(Eight)
end program EightBytIntTest