REAL, REAL*4 , REAL*8 and DOUBLE PRECISION, with g77

From: Hanna Arini Parhusip <parhusip_at_student.uni-kl.de>
Date: Sat, 22 Nov 1997 18:38:47 +0100

I compile this small program:

      REAL A
      REAL*4 B
      REAL*8 C
      DOUBLE PRECISION D
      A=1.0/0.00006061201
      B=1.0/0.00006061201
      C=1.0/0.00006061201
      D=1.0/0.00006061201
      write(*,*)A
      write(*,*)B
      write(*,*)C
      write(*,*)D
      stop
      end



and the results:


  16498.3809
  16498.3809
  16498.3809
  16498.3809

Where are the differences?
Thank you.
Received on Sat Nov 22 1997 - 18:36:07 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT