What is the Difference Between D and E in Scientific Notation?

AI Thread Summary
The distinction between 6.6725985D-20 and 6.6725985E-20 lies in their representation of numerical precision in programming, with 'D' indicating double precision and 'E' indicating single precision. This notation is particularly relevant in languages like Fortran, but may also apply to others. For non-programmers, both notations can be considered equivalent without concern for precision. In Visual Basic, the editor automatically converts 'D' to 'E' based on the precision defined in the Dim statement. Understanding these differences is essential for programmers dealing with numerical data types.
tony873004
Science Advisor
Gold Member
Messages
1,753
Reaction score
143
What's the difference between:

6.6725985D-20

and

6.6725985E-20
 
Mathematics news on Phys.org
From a computer programming point of view the D means the number is stored as double precision where as E is stored as single precision (for exmaple this is the notiation used in the fortran programming language, but it may apply to other languages, I am not sure). If you arent doing any programming but just came across this then you shouldn't need to worry about it and yo ucan assume that the two are equivalent. If you are programming then do some googling/reading on single/double precision etc.
 
Thanks. That makes sense. I was wondering in relation to VB. I just tried it, and the VB editor automatically changes D to E, with the precision set in the Dim statement.
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Thread 'Imaginary Pythagoras'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...

Similar threads

Back
Top