Searched refs:exp_shared (Results 1 – 1 of 1) sorted by relevance
107 int exp_shared, maxm; in float3_to_rgb9e5() local115 exp_shared = MAX2(-RGB9E5_EXP_BIAS-1, rgb9e5_FloorLog2(maxrgb)) + 1 + RGB9E5_EXP_BIAS; in float3_to_rgb9e5()116 assert(exp_shared <= RGB9E5_MAX_VALID_BIASED_EXP); in float3_to_rgb9e5()117 assert(exp_shared >= 0); in float3_to_rgb9e5()119 denom = pow(2, exp_shared - RGB9E5_EXP_BIAS - RGB9E5_MANTISSA_BITS); in float3_to_rgb9e5()124 exp_shared += 1; in float3_to_rgb9e5()125 assert(exp_shared <= RGB9E5_MAX_VALID_BIASED_EXP); in float3_to_rgb9e5()144 retval.field.biasedexponent = exp_shared; in float3_to_rgb9e5()