cosmopolitan/third_party/compiler_rt/nexgen32e/floatdixf.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
357 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");
/* long double __floatdixf(di_int a); */
#ifdef __x86_64__
#include "third_party/compiler_rt/int_lib.h"
long double __floatdixf(int64_t a)
{
return (long double)a;
}
#endif /* __i386__ */