https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113413

            Bug ID: 113413
           Summary: ATAND(Y,X) is unsupported
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kargl at gcc dot gnu.org
  Target Milestone: ---

Fortran 2023 added ATAND(X) and ATAND(Y,X).  The former is supported.
The latter is unsupported.  Consider.

program main
   real(4) x, y
   x = 1.
   y = x
   print*, atand(y,x), atan2d(y,x)
end

% gfcx -o z a.f90
a.f90:5:10:

    5 |    print*, atand(y,x), atan2d(y,x)
      |          1
Error: Too many arguments in call to ‘atand’ at (1)

Reply via email to