This is indeed what users (I) do. However, the standard mentions “…The model for the interpretation of an integer value as a sequence of bits is in 16.3…”, which makes the use of such features processor-dependent, especially for negative integers. See, e.g., this post for an example of such an “issue”/limitation.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
|
How do i allocate an array of strings?
|
71 | 5878 | September 30, 2023 | |
| BITS type in F202Y | 27 | 1662 | August 7, 2023 | |
| New Release of iso_varying_string | 36 | 2176 | August 30, 2023 | |
| Fortran Monthly Call: July 2020 | 26 | 1986 | July 17, 2020 | |
|
What are your favorite and least favorite things about Fortran?
|
85 | 4660 | August 7, 2022 |