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