Searched refs:intCoefficient (Results 1 - 1 of 1) sorted by relevance

/haiku/src/add-ons/accelerants/intel_extreme/
H A Doverlay.cpp66 int32 intCoefficient, res; local
70 if ((intCoefficient = (int)(absCoefficient * 4 * maxValue + 0.5))
73 splitCoefficient.mantissa = intCoefficient << res;
74 coefficient = (double)intCoefficient / (double)(4 * maxValue);
75 } else if ((intCoefficient = (int)(absCoefficient * 2 * maxValue + 0.5))
78 splitCoefficient.mantissa = intCoefficient << res;
79 coefficient = (double)intCoefficient / (double)(2 * maxValue);
80 } else if ((intCoefficient = (int)(absCoefficient * maxValue + 0.5))
83 splitCoefficient.mantissa = intCoefficient << res;
84 coefficient = (double)intCoefficient / (doubl
[all...]

Completed in 80 milliseconds