Fortran uses d0 and q0 as double and quadruple precision real literal suffixes, respectively. Will Fortran run out of letters to use as real literal suffixes if we have more precisions available in the future?

Itâ€™s going to get confusing if we get to octuple precision and start suffixing reals with `o0`

I only use `d0`

to define a kind, as in

`wp = kind(1.0d0)`

Then I will write `3.2_wp`

instead of `3.2d0`

, since having hard-coded kinds sprinkled throughout a program makes it more difficult to change the kind used.

@fortran4r , note though with literal constants of `REAL`

type in Fortran, it is better in practice to restrict the use of â€śeNâ€ť toward enabling the â€śpower ofâ€ť scaling to cases involving nonzero N only. With `E0`

, itâ€™s superfluous: `1.23_knd`

is adequate for the purposes.

No it doesnâ€™t. `d0`

, yes. `q0`

is an extension. The â€śmodern Fortranâ€ť way is to use kind numbers. See also Doctor Fortran in â€śIt Takes All KINDsâ€ť - Doctor Fortran (stevelionel.com)