UPoint operator /(num factor) { if (factor == 0) throw Exception("Cannot divide by zero!"); return UPoint(x / factor, y / factor); }