cosmopolitan/third_party/compiler_rt/nexgen32e/floatdisf.c

18 lines
351 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");
#if defined(__x86_64__) || defined(_M_X64)
#include "third_party/compiler_rt/int_lib.h"
float __floatdisf(int64_t a)
{
return (float)a;
}
#endif /* __x86_64__ */