[libc++][Android] Allow testing libc++ with clang-r536225 (#116149)
[llvm-project.git] / flang / runtime / Float128Math / rrspacing.cpp
blob04cefc049bbee2f3153fc69fd214711783362727
1 //===-- runtime/Float128Math/rrspacing.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"
10 #include "numeric-template-specs.h"
12 namespace Fortran::runtime {
13 extern "C" {
15 #if HAS_LDBL128 || HAS_FLOAT128
16 // FRACTION (16.9.80)
17 F128Type RTDEF(RRSpacing16)(F128Type x) { return RRSpacing<113>(x); }
18 #endif
20 } // extern "C"
21 } // namespace Fortran::runtime