[X86] AMD Zen 5 Initial enablement
[llvm-project.git] / flang / runtime / Float128Math / random.cpp
blobcda962b416144e573960012643bf8df30ae6a311
1 //===-- runtime/Float128Math/random.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"
11 #include "random-templates.h"
13 using namespace Fortran::runtime::random;
14 extern "C" {
16 #if LDBL_MANT_DIG == 113 || HAS_FLOAT128
17 void RTDEF(RandomNumber16)(
18 const Descriptor &harvest, const char *source, int line) {
19 return Generate<CppTypeFor<TypeCategory::Real, 16>, 113>(harvest);
21 #endif
23 } // extern "C"