16 lines
522 B
C
16 lines
522 B
C
//===-- 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);
|
|
}
|