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.
- [julia-users] hypot question feza
- [julia-users] Re: hypot question Jeffrey Sarnoff
- [julia-users] Re: hypot question feza
- [julia-users] Re: hypot question feza
- [julia-users] Re: hypot question Jeffrey Sarnoff
- [julia-users] Re: hypot question feza
- [julia-users] Re: hypot questio... Andreas Noack
- [julia-users] Re: hypot que... feza
- [julia-users] Re: hypot que... Jeffrey Sarnoff
