minix/sys/external/bsd/compiler_rt/dist/lib/x86_64/floatdidf.c
Lionel Sambuc 4684ddb6aa LLVM Minix changes
- import libcxx
 - reduce targets to the one when compiled as a tools

Change-Id: Iabb8427f80ff8e89463559a28bcb8b4f2bdbc496
2014-07-28 17:05:59 +02:00

16 lines
278 B
C

/* This file is distributed under the University of Illinois Open Source
* License. See LICENSE.TXT for details.
*/
/* double __floatdidf(di_int a); */
#ifdef __x86_64__
#include "../int_lib.h"
double __floatdidf(int64_t a)
{
return (double)a;
}
#endif /* __x86_64__ */