Home
last modified time | relevance | path

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

/CafeSDK-2.12.13-1/system/src/lib/gx2ut/
Dgx2utClear.cpp168 u32 mantBits) ///< Mantissa bits in destination format in ConvertFP32ToSmallFP() argument
197 outFp = (fp32Sign << (expBits + mantBits)) | (maxExp << mantBits) | in ConvertFP32ToSmallFP()
198 (fp32Mant >> (fp32MantBits - mantBits)); in ConvertFP32ToSmallFP()
213 outFp = (fp32Sign << (expBits + mantBits)) | ((maxExp - 1) << mantBits) | in ConvertFP32ToSmallFP()
214 ((1 << mantBits) - 1); in ConvertFP32ToSmallFP()
233 fp32Mant = (fp32Mant | 0x00800000) >> (fp32MantBits - mantBits); in ConvertFP32ToSmallFP()
237 outFp = (fp32Sign << (expBits + mantBits)) | fp32Mant; in ConvertFP32ToSmallFP()
242 outFp = (fp32Sign << (expBits + mantBits)) | in ConvertFP32ToSmallFP()
243 ((fp32Exp + bias - fp32Bias) << mantBits) | in ConvertFP32ToSmallFP()
244 (fp32Mant >> (fp32MantBits - mantBits)); in ConvertFP32ToSmallFP()
[all …]