Home
last modified time | relevance | path

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

/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_pxp.c178 int32_t expValue = (int32_t)((floatBits & 0x7F800000U) >> 23U) - 127; in PXP_ConvertFloat() local
181 expValue += fracBits; in PXP_ConvertFloat()
183 if (expValue < 0) in PXP_ConvertFloat()
187 else if (expValue > 23) in PXP_ConvertFloat()
190 assert((expValue - 23) <= 7); in PXP_ConvertFloat()
191 ret <<= (expValue - 23); in PXP_ConvertFloat()
195 ret >>= (23 - expValue); in PXP_ConvertFloat()