brintos

brintos / llvm-project-archived public Read only

0
0
Text · 742 B · 910303a Raw
24 lines · cpp
1//===-- lib/quadmath/fma.cpp ------------------------------------*- C++ -*-===//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-exception6//7//===----------------------------------------------------------------------===//8 9#include "math-entries.h"10 11namespace Fortran::runtime {12extern "C" {13 14#if HAS_LDBL128 || HAS_FLOAT12815CppTypeFor<TypeCategory::Real, 16> RTDEF(FmaF128)(16    CppTypeFor<TypeCategory::Real, 16> x, CppTypeFor<TypeCategory::Real, 16> y,17    CppTypeFor<TypeCategory::Real, 16> z) {18  return Fma<true>::invoke(x, y, z);19}20#endif21 22} // extern "C"23} // namespace Fortran::runtime24