cosmopolitan/third_party/compiler_rt/nexgen32e/floatdixf.c

20 lines
378 B
C

/* clang-format off */
/* 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__ */