mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-29 00:32:29 +00:00
Initial import
This commit is contained in:
commit
c91b3c5006
14915 changed files with 590219 additions and 0 deletions
17
third_party/compiler_rt/nexgen32e/floatdisf.c
vendored
Normal file
17
third_party/compiler_rt/nexgen32e/floatdisf.c
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
/* 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__ */
|
Loading…
Add table
Add a link
Reference in a new issue