I don't think that's the reason, since:
```
if x == 0
r = y/one(x) # Why not just return y?
```
This can only happen if x = 0 or x = 0.0 and y = NaN or x = 0 or
x = 0.0 and y = 0 or y = 0.0hypot(2,0) 2.0 hypot(0,2) 2.0 hypot(0,0) 0 hypot(0,0.0) 0.0 On Sunday, March 27, 2016 at 9:41:12 AM UTC-4, Andreas Noack wrote: > > It's to ensure that the return type doesn't depend on the value of x. If x > and y are integers then the return type of hypot1 will be Int if x==0 and > Float64 otherwise. > >
