brintos

brintos / llvm-project-archived public Read only

0
0
Text · 741 B · 0f28747 Raw
25 lines · cpp
1//===-- lib/quadmath/modulo-real.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#include "numeric-template-specs.h"11 12namespace Fortran::runtime {13extern "C" {14 15#if HAS_LDBL128 || HAS_FLOAT12816// MODULO (16.9.136)17F128Type RTDEF(ModuloReal16)(18    F128Type x, F128Type p, const char *sourceFile, int sourceLine) {19  return RealMod<true>(x, p, sourceFile, sourceLine);20}21#endif22 23} // extern "C"24} // namespace Fortran::runtime25