title: How do I properly convert an array of type real(kind=8) to one of type real(kind=4) in Fortran
body: <p>This question applies to Fortran, more precisely the compiler gfortran.</p>
  <p>I need to know how I can convert a real(kind=8) array to a real(kind=4) array such that all reasonable digits in each entry of the array remain.</p>
  <p>Obviously, a type cast from kind=8 to kind=4 implies a loss of information. Hence, what I am looking for is the proper way to lose just as much information as necessary - but not more.</p>