Q:

What is a 'storage unit' - numeric or otherwise?

2
Like
Answer
Comment
Flag
Thanks for your feedback!
A:

1 Answer

rank
1
1
Like
Comment
Flag
As per Fortran standards going all the way back to Fortran-66, REAL, INTEGER, and LOGICAL data types are defined as using 1 'numeric storage unit'. DOUBLE PRECISION and COMPLEX are defined as using 2 numeric storage units. No guidelines or requirements are imposed as to how big, in terms of numbers of bits or bytes, a numeric storage unit is. This is intentional to allow Fortran to be easily implemented on a wide variety of hardware. These days one numeric storage unit tends to be 32-bits to accomodate the IEEE floating point standard. However in the past, I've used computers where a single numeric storage unit was 16, 18, 24, 32, 36, 60, and 64 bits. Even 48 bit numeric storage units are not unknown. Note that even though DOUBLE PRECISION is required to occupy twice the storage as REAL, the standard does not require twice the precision in calculations. Thus, even if only 1 additional bit were actually used, an implementation would meet the requirements of the standard. Fortran-77 ...  more
reality.sgiweb.org

Related Videos

Add your answer...

Top Answerers

1.
Cheap SSL Certificates
7 Answers in the past week
2.
vanity fair
7 Answers in the past week
3.
Robert Turner
4 Answers in the past week

Top Askers

1.
Frank Bell
2 Questions in the past week
2.
Frank Bigaglow
3 Questions in the past week
3.
Charles McAtee
2 Questions in the past week

Top Supporters

1.
Tom Wagner
9 Likes given in the past week
2.
Susan Brunner
3 Likes given in the past week
3.
CableAnd OtherThings Too
2 Likes given in the past week
...