-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
complexComplex numbersComplex numbersdocsThis change adds or pertains to documentationThis change adds or pertains to documentation
Description
While looking at #31922 I noted that currently
julia> hypot(im)
1.0
julia> hypot(im, 1)
1.4142135623730951which doesn't look correct given the meaning of hypot as "more precise version of \sqrt{\sum x_i^2}". I couldn't find any test about hypot with complex arguments, so I think this case was never taken into account.
chriscoey and MasonProtter
Metadata
Metadata
Assignees
Labels
complexComplex numbersComplex numbersdocsThis change adds or pertains to documentationThis change adds or pertains to documentation