Go to the source code of this file.
◆ ___fixtfti()
Definition at line 13 of file fixtfti.c.
13 {
14 const __int128 fixint_max = (__int128)((~(unsigned __int128)0) / 2);
15 const __int128 fixint_min = -fixint_max - 1;
16
17 const __int128 aRep = toRep(
a);
18 const __int128 aAbs = aRep &
absMask;
19 const __int128 sign = aRep &
signBit ? -1 : 1;
22
23
24 if (exponent < 0)
25 return 0;
26
27
28 if ((unsigned)exponent >= sizeof(__int128) * CHAR_BIT)
29 return sign == 1 ? fixint_max : fixint_min;
30
31
32
35 else
37}
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a