fprettify icon indicating copy to clipboard operation
fprettify copied to clipboard

Feature request: Support the letters q and Q in the expression of quadruple precision variables.

Open kohei-noda-qcrg opened this issue 2 years ago • 0 comments
trafficstars

Writing code with the following notation in quadruple precision would result in wasted spaces that would cause the compilation to fail, as shown below code

real(16) :: r
r=1.0q-10

The above code is formatted as follows

real(16) :: r
r = 1.0q - 10

The expected formatting is as follows

real(16) :: r
r = 1.0q-10

Adding the --disable-whitespace option prevent this problem, but it would also ignore all other whitespace-related formats, so it would be preferable to support quadruple precision q and Q representations, but I'm not sure.

kohei-noda-qcrg avatar Feb 13 '23 08:02 kohei-noda-qcrg