blob: 0c6cc83b9d142e7a6c80ef78432bb7deadbfb8cc [file] [edit]
//===----------------------------------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//
///
/// \file
/// This file implements compiler-rt's __extendsftf2, extend float to float128,
/// on top of LLVM-libc's shared::extendsftf2.
///
//===----------------------------------------------------------------------===//
#define QUAD_PRECISION
#include "fp_lib.h"
#include "fp_libc_config.h"
#include "shared/builtins/extendsftf2.h"
#ifdef CRT_HAS_TF_MODE
extern "C" COMPILER_RT_ABI tf_float __extendsftf2(float a) {
return LIBC_NAMESPACE::shared::extendsftf2(a);
}
#endif