double hypot(x, y) double x, y;
sqrt(x*x + y*y) ,
taking precautions against unwarranted IEEE exceptions. On IEEE overflow, hypot() may also set errno and call matherr.3m hypot(±\(if, y) is +\(if for any y, even a NaN, and is exceptional only for a signaling NaN.
hypot(x,y) and atan2(y,x) (see trig.3m convert rectangular coordinates (x,y) to polar (r,\(*h); hypot() computes r, the modulus or radius.
Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97