Searched refs:inf_y (Results 1 – 3 of 3) sorted by relevance
181 …Int4 inf_y = IsInf(y2); // Since x2 >= y2, this means x2 == y2 == inf, so we use 45 degrees or pi… in Atan2() local183 …theta += As<Float4>((~zero_x & ~inf_y & ((O & As<Int4>(half_pi - atan2_theta)) | (~O & (As<Int4>(a… in Atan2()184 (inf_y & As<Int4>(quarter_pi))); in Atan2()188 Int4 precision_loss = S & Q & O & ~inf_y; in Atan2()
415 …Int4 inf_y = IsInf(y2); // Since x2 >= y2, this means x2 == y2 == inf, so we use 45 degrees or pi… in arctan() local417 …theta += As<Float4>((~zero_x & ~inf_y & ((O & As<Int4>(half_pi - atan2_theta)) | (~O & (As<Int4>(a… in arctan()418 (inf_y & As<Int4>(quarter_pi))); in arctan()421 …Int4 precision_loss = S & Q & O & ~inf_y; … in arctan()
431 …Int4 inf_y = IsInf(y2); // Since x2 >= y2, this means x2 == y2 == inf, so we use 45 degrees or pi/4 in arctan() local433 …theta += As<Float4>((~zero_x & ~inf_y & ((O & As<Int4>(half_pi - atan2_theta)) | (~O & (As<Int4>(a… in arctan()434 (inf_y & As<Int4>(quarter_pi))); in arctan()437 …Int4 precision_loss = S & Q & O & ~inf_y; // This combination results in (-pi + half_pi + half_pi … in arctan()