Debian Codegraph @

flang/runtime/Float128Math/yn.cpp

raw
1 //===-- runtime/Float128Math/yn.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 //===----------------------------------------------------------------------===//
8
9 #include "math-entries.h"
10
11 namespace Fortran::runtime {
12 extern "C" {
13
14 #if LDBL_MANT_DIG == 113 || HAS_FLOAT128
15 CppTypeFor<TypeCategory::Real, 16> RTDEF(YnF128)(
16 int n, CppTypeFor<TypeCategory::Real, 16> x) {
17 return Yn<true>::invoke(n, x);
18 }
19 #endif
20
21 } // extern "C"
22 } // namespace Fortran::runtime