Home
last modified time | relevance | path

Searched refs:MANTISSA_BITS (Results 1 – 1 of 1) sorted by relevance

/device/google/contexthub/firmware/os/core/
DfloatRt.c52 #define MANTISSA_BITS 23 macro
53 #define EXP_SHIFT MANTISSA_BITS
78 ret = (word & ((1 << MANTISSA_BITS) - 1)) | (1 << MANTISSA_BITS); in floatToUint64()
82 if (e < MANTISSA_BITS) in floatToUint64()
83 ret >>= MANTISSA_BITS - e; in floatToUint64()
85 ret <<= e - MANTISSA_BITS; in floatToUint64()
110 ret = (word & ((1 << MANTISSA_BITS) - 1)) | (1 << MANTISSA_BITS); in floatToInt64()
114 if (e < MANTISSA_BITS) in floatToInt64()
115 ret >>= MANTISSA_BITS - e; in floatToInt64()
117 ret <<= e - MANTISSA_BITS; in floatToInt64()