Lines Matching refs:intCoefficient
66 int32 intCoefficient, res; in split_coefficient() local
70 if ((intCoefficient = (int)(absCoefficient * 4 * maxValue + 0.5)) in split_coefficient()
73 splitCoefficient.mantissa = intCoefficient << res; in split_coefficient()
74 coefficient = (double)intCoefficient / (double)(4 * maxValue); in split_coefficient()
75 } else if ((intCoefficient = (int)(absCoefficient * 2 * maxValue + 0.5)) in split_coefficient()
78 splitCoefficient.mantissa = intCoefficient << res; in split_coefficient()
79 coefficient = (double)intCoefficient / (double)(2 * maxValue); in split_coefficient()
80 } else if ((intCoefficient = (int)(absCoefficient * maxValue + 0.5)) in split_coefficient()
83 splitCoefficient.mantissa = intCoefficient << res; in split_coefficient()
84 coefficient = (double)intCoefficient / (double)maxValue; in split_coefficient()
85 } else if ((intCoefficient = (int)(absCoefficient * maxValue * 0.5 + 0.5)) in split_coefficient()
88 splitCoefficient.mantissa = intCoefficient << res; in split_coefficient()
89 coefficient = (double)intCoefficient / (double)(maxValue / 2); in split_coefficient()