What does the *4 mean in integer*4 in fortran77?

  • Context: Fortran 
  • Thread starter Thread starter dimensionless
  • Start date Start date
  • Tags Tags
    Fortran77 Mean
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 9K views
dimensionless
Messages
461
Reaction score
1
How is
Code:
integer*4
different from
Code:
integer
?
 
on Phys.org
dimensionless said:
How is
Code:
integer*4
different from
Code:
integer
?

integer*4 is an expression where you multiply integer by 4?
 
Integer*1 => 1 byte integer variable
Integer*2 => 2 bytes integer variable
Integer*4 => 4 bytes integer variable
Integer => 4 bytes by default but can be compiler dependent