mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 15:03:34 +00:00
- 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
18 lines
369 B
C
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__ */
|