Skip to content

Formatting stalls when encountering long line with floating point numbers #180

Description

@marjohma
program test
    implicit none
    integer :: I, jj
    double precision :: A
    real(kind=8) :: B       ! This is a comment for B
    real(kind=8) :: C
    A = 1.0d0
    I = 1
    jj = 59
    C = 8132489.0 + 1340811092340917509718095809185.1850918509871095809148509185 + 019780295710958709185098.1095709175091875098109589
end program

The line with the C causes the issue with the following configuration file:

indent = 4
whitespace-comma = true
whitespace-assignment = true
whitespace-decl = true
whitespace-relational = true
whitespace-logical = true
whitespace-print = true
whitespace-type = true
whitespace-intrinsics = true
enable-decl = true
case = [1, 1, 1, 1]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions