Deleted Added
sdiff udiff text old ( 215125 ) new ( 229135 )
full compact
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
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 ---