blob: bd099280aead6708a662cfc57f74d76302609be2 [file] [edit]
//===-- lib/divtf3.cpp - quad-precision division ----------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// __divtf3 implemented on top of LLVM-libc's shared::divtf3 instruction.
//
//===----------------------------------------------------------------------===//
#define QUAD_PRECISION
#include "fp_lib.h"
#include "fp_libc_config.h"
#include "int_lib.h"
#include "shared/builtins/divtf3.h"
extern "C" COMPILER_RT_ABI fp_t __divtf3(fp_t a, fp_t b) {
return LIBC_NAMESPACE::shared::divtf3(a, b);
}