[X86] AMD Zen 5 Initial enablement
[llvm-project.git] / flang / runtime / Float128Math / atan2.cpp
blobdd646b0452b115213f0f10b76982ed514d9d0c15
1 //===-- runtime/Float128Math/atan2.cpp ------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #include "math-entries.h"
11 namespace Fortran::runtime {
12 extern "C" {
14 #if LDBL_MANT_DIG == 113 || HAS_FLOAT128
15 CppTypeFor<TypeCategory::Real, 16> RTDEF(Atan2F128)(
16 CppTypeFor<TypeCategory::Real, 16> x,
17 CppTypeFor<TypeCategory::Real, 16> y) {
18 return Atan2<true>::invoke(x, y);
20 #endif
22 } // extern "C"
23 } // namespace Fortran::runtime