cosmopolitan/third_party/compiler_rt/nexgen32e/floatdidf.c
Justine Tunney fa20edc44d
Reduce header complexity
- Remove most __ASSEMBLER__ __LINKER__ ifdefs
- Rename libc/intrin/bits.h to libc/serialize.h
- Block pthread cancelation in fchmodat() polyfill
- Remove `clang-format off` statements in third_party
2023-11-28 14:39:42 -08:00

18 lines
369 B
C

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