Current Path : /usr/src/contrib/gcc/config/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/src/contrib/gcc/config/floatdidf.c |
/* Public domain. */ typedef int SItype __attribute__ ((mode (SI))); typedef unsigned int USItype __attribute__ ((mode (SI))); typedef int DItype __attribute__ ((mode (DI))); typedef float DFtype __attribute__ ((mode (DF))); DFtype __floatdidf (DItype); DFtype __floatdidf (DItype u) { /* When the word size is small, we never get any rounding error. */ DFtype f = (SItype) (u >> (sizeof (SItype) * 8)); f *= 0x1p32f; f += (USItype) u; return f; }