Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

What dose d-8 mean in Fortran?

  1. Oct 18, 2009 #1
    What dose "d-8" mean in Fortran?

    Dear friends;
    What dose "d-8" mean in Fortran?
    Thanks
     
  2. jcsd
  3. Oct 18, 2009 #2

    jtbell

    User Avatar

    Staff: Mentor

    Re: accuracy=2.0d-8

    2.0d-8 is the same value as 2.0e-8 except that it's stored as a double precision real number instead of single precision. In FORTRAN 77 it would be declared as REAL*16 instead of REAL*8.
     
  4. Oct 18, 2009 #3
    Re: accuracy=2.0d-8

    Much thanks to jtbell ;

    you mean 2.0d-8 is equal to 2*10^ (-8) ?
     
  5. Oct 19, 2009 #4

    jtbell

    User Avatar

    Staff: Mentor

    Re: accuracy=2.0d-8

    Yes.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: What dose d-8 mean in Fortran?
Loading...