Edward O'Callaghan | 33c1347 | 2009-08-08 04:43:56 +0000 | [diff] [blame] | 1 | /* This file is distributed under the University of Illinois Open Source |
| 2 | * License. See LICENSE.TXT for details. |
| 3 | */ |
Daniel Dunbar | b3a6901 | 2009-06-26 16:47:03 +0000 | [diff] [blame] | 4 | |
Edward O'Callaghan | 33c1347 | 2009-08-08 04:43:56 +0000 | [diff] [blame] | 5 | /* double __floatdidf(di_int a); */ |
Daniel Dunbar | b3a6901 | 2009-06-26 16:47:03 +0000 | [diff] [blame] | 6 | |
| 7 | #ifdef __x86_64__ |
| 8 | |
Daniel Dunbar | dbaa397 | 2011-11-16 01:19:16 +0000 | [diff] [blame] | 9 | #include "../int_lib.h" |
Daniel Dunbar | b3a6901 | 2009-06-26 16:47:03 +0000 | [diff] [blame] | 10 | |
| 11 | double __floatdidf(int64_t a) |
| 12 | { |
| 13 | return (double)a; |
| 14 | } |
| 15 | |
Edward O'Callaghan | 33c1347 | 2009-08-08 04:43:56 +0000 | [diff] [blame] | 16 | #endif /* __x86_64__ */ |