xref: /NextBSD/contrib/compiler-rt/lib/builtins/x86_64/floatdidf.c (revision 287e3b14e9552995def1802ec9c5034f4adf28ec)
1 /* This file is distributed under the University of Illinois Open Source
2  * License. See LICENSE.TXT for details.
3  */
4 
5 /* double __floatdidf(di_int a); */
6 
7 #ifdef __x86_64__
8 
9 #include "../int_lib.h"
10 
__floatdidf(int64_t a)11 double __floatdidf(int64_t a)
12 {
13 	return (double)a;
14 }
15 
16 #endif /* __x86_64__ */
17