Lines Matching refs:word
61 uint32_t e, word = *(const uint32_t*)&f; in floatToUint64() local
66 if (word & BIT_SIGN) in floatToUint64()
70 if (word < (EXP_ADJUST << EXP_SHIFT)) in floatToUint64()
74 if (word >= (EXP_ADJUST + 64) << EXP_SHIFT) in floatToUint64()
78 ret = (word & ((1 << MANTISSA_BITS) - 1)) | (1 << MANTISSA_BITS); in floatToUint64()
79 e = ((word >> EXP_SHIFT) - EXP_ADJUST); in floatToUint64()
92 uint32_t e, word = *(const uint32_t*)&f; in floatToInt64() local
93 bool neg = (word & BIT_SIGN); in floatToInt64()
98 word &=~ BIT_SIGN; in floatToInt64()
101 if (word < (EXP_ADJUST << EXP_SHIFT)) in floatToInt64()
105 if (word >= (EXP_ADJUST + 63) << EXP_SHIFT) in floatToInt64()
110 ret = (word & ((1 << MANTISSA_BITS) - 1)) | (1 << MANTISSA_BITS); in floatToInt64()
111 e = ((word >> EXP_SHIFT) - EXP_ADJUST); in floatToInt64()