130. storage_size(A) returns the storage size of argument A in bits.#

topic: Data types

Note

This tip is a draft1.

storage_size(A) is an F2008 function that returns the storage size of argument A in bits. If A is an array it returns the size of an element of A. If A is a derived type with allocatable components, the result of storage_size() is compiler-dependent.



1

From the perspective of FortranTip Browser, “draft” means that it hasn’t been edited for formatting, hasn’t had corresponding Fortran programs added, the text content hasn’t been enhanced, etc. Draft texts are extracted from the corresponding Tweet using the Twitter API.