Fortran What dose d-8 mean in Fortran?

  • Thread starter Thread starter nnnnn
  • Start date Start date
  • Tags Tags
    Fortran Mean
AI Thread Summary
In Fortran, "d-8" denotes a double precision floating-point number. Specifically, the notation "2.0d-8" is equivalent to "2.0e-8," but it indicates that the value is stored as a double precision real number rather than a single precision one. In FORTRAN 77, this would be declared as REAL*16 instead of REAL*8. The value can be understood mathematically as 2 multiplied by 10 raised to the power of -8.
nnnnn
Messages
5
Reaction score
0
What dose "d-8" mean in Fortran?

Dear friends;
What dose "d-8" mean in Fortran?
Thanks
 
Technology news on Phys.org


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.
 


Much thanks to jtbell ;

you mean 2.0d-8 is equal to 2*10^ (-8) ?
 


Yes.
 
Thread 'Star maps using Blender'
Blender just recently dropped a new version, 4.5(with 5.0 on the horizon), and within it was a new feature for which I immediately thought of a use for. The new feature was a .csv importer for Geometry nodes. Geometry nodes are a method of modelling that uses a node tree to create 3D models which offers more flexibility than straight modeling does. The .csv importer node allows you to bring in a .csv file and use the data in it to control aspects of your model. So for example, if you...
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...

Similar threads

Replies
25
Views
3K
Replies
2
Views
1K
Replies
20
Views
4K
Replies
12
Views
2K
Replies
75
Views
17K
Replies
17
Views
6K
Replies
9
Views
4K
Back
Top