diff options
Diffstat (limited to 'contrib/compiler-rt/lib/x86_64/floatdisf.c')
-rw-r--r-- | contrib/compiler-rt/lib/x86_64/floatdisf.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/compiler-rt/lib/x86_64/floatdisf.c b/contrib/compiler-rt/lib/x86_64/floatdisf.c new file mode 100644 index 0000000..753ba90 --- /dev/null +++ b/contrib/compiler-rt/lib/x86_64/floatdisf.c @@ -0,0 +1,14 @@ +/* This file is distributed under the University of Illinois Open Source + * License. See LICENSE.TXT for details. + */ + +#ifdef __x86_64__ + +#include <stdint.h> + +float __floatdisf(int64_t a) +{ + return (float)a; +} + +#endif /* __x86_64__ */ |