Home
last modified time | relevance | path

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

/CafeSDK-2.12.13/system/src/lib/gx2ut/
Dgx2utClear.cpp170 u32 uiFp32, fp32Sign, fp32Exp, fp32Mant, fp32MantBits, fp32Bias; in ConvertFP32ToSmallFP() local
176 fp32Sign = (uiFp32 & 0x80000000) >> 31; in ConvertFP32ToSmallFP()
195 if ((signBit == TRUE) || (fp32Sign == 0)) in ConvertFP32ToSmallFP()
197 outFp = (fp32Sign << (expBits + mantBits)) | (maxExp << mantBits) | in ConvertFP32ToSmallFP()
205 else if ((signBit == FALSE) && (fp32Sign == 1)) in ConvertFP32ToSmallFP()
213 outFp = (fp32Sign << (expBits + mantBits)) | ((maxExp - 1) << mantBits) | in ConvertFP32ToSmallFP()
237 outFp = (fp32Sign << (expBits + mantBits)) | fp32Mant; in ConvertFP32ToSmallFP()
242 outFp = (fp32Sign << (expBits + mantBits)) | in ConvertFP32ToSmallFP()
259 u32 fp32Sign, fp32Exp, fp32Mant; in ConvertFP32ToUnorm() local
263 fp32Sign = (uiFp32 & 0x80000000) >> 31; in ConvertFP32ToUnorm()
[all …]