nnnnn
- 5
- 0
What dose "d-8" mean in Fortran?
Dear friends;
What dose "d-8" mean in Fortran?
Thanks
Dear friends;
What dose "d-8" mean in Fortran?
Thanks
The term "d-8" in Fortran signifies a double precision representation of a floating-point number. Specifically, "2.0d-8" is equivalent to "2.0e-8," but it is stored as a double precision real number, which offers greater accuracy than single precision. In FORTRAN 77, this would be declared using REAL*16 instead of REAL*8. This distinction is crucial for developers working with numerical computations requiring high precision.
PREREQUISITESThis discussion is beneficial for Fortran developers, numerical analysts, and anyone involved in scientific computing who needs to understand precision in floating-point representations.