Home
last modified time | relevance | path

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

/optee_os/core/lib/qcbor/src/
H A Dieee754.c324 int32_t nShiftAmount; in IEEE754_SingleToHalf() local
429nShiftAmount = nExponentDifference + (SINGLE_NUM_SIGNIFICAND_BITS - HALF_NUM_SIGNIFICAND_BITS); in IEEE754_SingleToHalf()
436 … uHalfSignificand = (uSingleSignificand + (1 << SINGLE_NUM_SIGNIFICAND_BITS)) >> nShiftAmount; in IEEE754_SingleToHalf()
442 … uHalfSignificand << nShiftAmount == uSingleSignificand + (1 << SINGLE_NUM_SIGNIFICAND_BITS)) { in IEEE754_SingleToHalf()
503 int64_t nShiftAmount; in IEEE754_DoubleToSingle() local
598nShiftAmount = nExponentDifference + (DOUBLE_NUM_SIGNIFICAND_BITS - SINGLE_NUM_SIGNIFICAND_… in IEEE754_DoubleToSingle()
599 …uSingleSignificand = (uDoubleSignificand + (1ULL << DOUBLE_NUM_SIGNIFICAND_BITS)) >> nShiftAmount; in IEEE754_DoubleToSingle()
603 …uSingleSignificand << nShiftAmount == uDoubleSignificand + (1ULL << DOUBLE_NUM_SIGNIFICAND_BITS)) { in IEEE754_DoubleToSingle()