Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spacing in conditional statements #5

Open
Beliavsky opened this issue Oct 4, 2024 · 0 comments
Open

Spacing in conditional statements #5

Beliavsky opened this issue Oct 4, 2024 · 0 comments

Comments

@Beliavsky
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant