fixunstfdi.c (215125) | fixunstfdi.c (229135) |
---|---|
1/* This file is distributed under the University of Illinois Open Source 2 * License. See LICENSE.TXT for details. 3 */ 4 5/* uint64_t __fixunstfdi(long double x); */ 6/* This file implements the PowerPC 128-bit double-double -> uint64_t conversion */ 7 8#include "DD.h" | 1/* This file is distributed under the University of Illinois Open Source 2 * License. See LICENSE.TXT for details. 3 */ 4 5/* uint64_t __fixunstfdi(long double x); */ 6/* This file implements the PowerPC 128-bit double-double -> uint64_t conversion */ 7 8#include "DD.h" |
9#include <stdint.h> | |
10 11uint64_t __fixunstfdi(long double input) 12{ 13 const DD x = { .ld = input }; 14 const doublebits hibits = { .d = x.s.hi }; 15 16 const uint32_t highWordMinusOne = (uint32_t)(hibits.x >> 32) - UINT32_C(0x3ff00000); 17 --- 43 unchanged lines hidden --- | 9 10uint64_t __fixunstfdi(long double input) 11{ 12 const DD x = { .ld = input }; 13 const doublebits hibits = { .d = x.s.hi }; 14 15 const uint32_t highWordMinusOne = (uint32_t)(hibits.x >> 32) - UINT32_C(0x3ff00000); 16 --- 43 unchanged lines hidden --- |