1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-16 15:11:52 +00:00
freebsd/contrib/compiler-rt/lib/x86_64/floatdixf.c
Ed Schouten a3cf0ef5a2 Import libcompiler_rt into HEAD and add Makefiles.
Obtained from:	user/ed/compiler-rt
2010-11-11 15:13:11 +00:00

17 lines
287 B
C

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