Skip to content

Spacing in conditional statements #5

@Beliavsky

Description

@Beliavsky

Thanks for your project. I was looking for Bessel functions. Here is a minor comment on
formatting.

In the code https://github.com/perazz/fortran-bessels/blob/main/src/bessels.f90

there are lines

       if (ax<=PIO2) then

       elseif (ax <= 26.0_BK) then

       elseif (ax<huge(ax)) then

For readability it is good to have spacing around a comparison operator as in the 2nd line. I wonder if auto-formatting tools like fprettify do this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions