Searched refs:xfp (Results 1 – 2 of 2) sorted by relevance
78 double sum_coef, xfp; in scale_matrix_for_fixedpoint() local112 xfp = ((double)scale_coef) * matrix[ii][jj]; in scale_matrix_for_fixedpoint()113 if (xfp > 0.0) in scale_matrix_for_fixedpoint()114 xfp += 0.5; in scale_matrix_for_fixedpoint()115 else if (xfp < 0.0) in scale_matrix_for_fixedpoint()116 xfp -= 0.5; in scale_matrix_for_fixedpoint()117 ASSERT(xfp < FIXED_MAX); in scale_matrix_for_fixedpoint()118 ASSERT(xfp > -FIXED_MAX); in scale_matrix_for_fixedpoint()119 fixmat[ii][jj] = (imeldata) xfp; in scale_matrix_for_fixedpoint()
100 double xfp; in init_newton_transform() local136 xfp = scale * (onerow[ii] - UTB_MEAN) + UTB_MEAN; in init_newton_transform()137 if (xfp > 0.0) in init_newton_transform()138 xfp += 0.5; in init_newton_transform()139 else if (xfp < 0.0) in init_newton_transform()140 xfp -= 0.5; in init_newton_transform()142 prep->offset[ii] = (imeldata) xfp; in init_newton_transform()