Lines Matching refs:SHIFT_AMOUNT
25 #define SHIFT_AMOUNT 16 /* We multiply all original integers with 2^SHIFT_AMOUNT to get the fInt re… macro
29 #define SHIFTED_2 (2 << SHIFT_AMOUNT)
30 #define MAX (1 << (SHIFT_AMOUNT - 1)) - 1 /* 32767 - Might change in the future */
44 unsigned int decimal: SHIFT_AMOUNT; /*Needs to always be unsigned*/
45 int real: 32 - SHIFT_AMOUNT;
223 temp.full = (X << SHIFT_AMOUNT); in ConvertToFraction()
241 temp.full = (X << SHIFT_AMOUNT); in Convert_ULONG_ToFraction()
494 return (A.full >> SHIFT_AMOUNT); in GetReal()
501 A.full = X << SHIFT_AMOUNT; in Divide()
502 B.full = Y << SHIFT_AMOUNT; in Divide()
515 dec[i] = tmp / (1 << SHIFT_AMOUNT); in uGetScaledDecimal()
516 tmp = tmp - ((1 << SHIFT_AMOUNT)*dec[i]); in uGetScaledDecimal()