```js
((rxpow2 * rypow2) / (x1_pow2 * rypow2 + rxpow2 * y1_pow2)) - 1
```
Shorter by three operations. Check my work, though.