• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===-- lib/truncdfsf2.c - double -> single conversion ------------*- C -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #define SRC_DOUBLE
11 #define DST_SINGLE
12 #include "fp_trunc_impl.inc"
13 
ARM_EABI_FNALIAS(d2f,truncdfsf2)14 ARM_EABI_FNALIAS(d2f, truncdfsf2)
15 
16 COMPILER_RT_ABI float __truncdfsf2(double a) {
17     return __truncXfYf2__(a);
18 }
19