How convert Division to its multiplication equivalent

14 Views Asked by At

Question

I have a division that is x / 2 and I know that is equivalent to x ⋅ 0.5 or $ \frac{x}{2}\; = x \cdot 0.5 $

  • What is the formula to get the multiplication equivalent of a division?
  • What would be the equivalent of x / 180

So a formula to get the zin this equation, I know x, I know y but I need z.

$$ \frac{x}{y}\; = x \cdot z $$


Context

So I know that $\frac{x}{2}\; = x \cdot 0.5$ on top of my head but I don't know how or what formula to get the $x \cdot 0.5$. So in the example above (and actually what I need know) is to know how I can get a multiplication which the result equals to x / 180. But I just don't wanna know for x / 180 but for I guess that there is a formula to get that, and probably is a silly one but because of my high skills in maths this simple question is to easy for me (being sarcastic).

Use case

I need it for game development (but applies to any software or any computer calculation), simply put: Computer get result from multiplications faster than divisions, in 99% of the time this doesn't matter because anyway the result is really quick, but in some software where performance is a problem (i.e Game Development) ins some scenario may make a difference.