blob: 0f0639865dbfdb9a3bfdc7871b0e6d3a52f83f8d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//===-- 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);
}
|