Searched refs:abs_y (Results 1 – 3 of 3) sorted by relevance
215 const T abs_y = fabs(y); in FastAtan2() local218 T r = (x - abs_y) / (x + abs_y); in FastAtan2()221 T r = (x + abs_y) / (abs_y - x); in FastAtan2()
124 auto abs_y = xla::Abs(y); in FloorDivImpl() local125 auto t = xla::Neg(xla::Sub(xla::Add(abs_x, abs_y), one)); in FloorDivImpl()126 return xla::Select(different_sign, xla::Div(t, abs_y), xla::Div(x, y)); in FloorDivImpl()
354 T abs_y = std::abs(y);355 return -(abs_x + abs_y - 1) / abs_y;368 Packet abs_y = pabs(y);370 Packet ratio_rounded = pdiv(pnegate(psub(padd(abs_x, abs_y), ones)), abs_y);