[flang] Implement atand intrinsic
authorDavid Truby <david.truby@arm.com>
Mon, 27 Feb 2023 16:41:26 +0000 (16:41 +0000)
committerDavid Truby <david.truby@arm.com>
Wed, 8 Mar 2023 13:56:21 +0000 (13:56 +0000)
commit00671c0fa7ae18c11ab46b012c1aedcf4ef0f6f1
tree132341946798aa4451a4fbbcfd73bbb5688fb5bd
parent6f8dfeee06cf97d253bd278357ef26c0a2c9c1e2
[flang] Implement atand intrinsic

This implements the atand intrinsic by performing a multiplication
by 180/pi to the result of a call to atan inline.

Differential Revision: https://reviews.llvm.org/D144885
flang/lib/Optimizer/Builder/IntrinsicCall.cpp
flang/test/Lower/Intrinsics/atand.f90 [new file with mode: 0644]