blob: 0f0639865dbfdb9a3bfdc7871b0e6d3a52f83f8d [file] [log] [blame]
//===-- lib/truncsfhf2.c - long double -> half conversion ---------*- 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
//
//===----------------------------------------------------------------------===//
#define SRC_SINGLE
#define DST_HALF
#include "fp_trunc_impl.inc"
COMPILER_RT_ABI dst_t __truncxfhf2(xf_float a) {
return __truncXfYf2__((float)a);
}