⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hypot.3m

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 3M
字号:
.\" SCCSID: @(#)hypot.3m	8.1	9/11/90.TH hypot 3m VAX.SH Namehypot, cabs \- Euclidean distance.SH Syntax.nf.B #include <math.h>.PP.B double hypot(\fIx,y\fP).B double \fIx,y\fP;.PP.B double cabs(\fIz\fP).B struct {double x,y;} \fIz\fP;.fi.SH Description.NXR "hypot subroutine".NXR "cabs subroutine".NXR "Euclidean distance"The.PN hypotand.PN cabsfunctions return.PP.IPsqrt(\fIx\fP*\fIx\fP + \fIy\fP*\fIy\fP),.PPtaking precautions against unwarranted overflows..SH Return ValuesThe .PN hypotand.PN cabsfunctions return HUGE_VAL and sets \fIerrno\fP to ERANGE when thecorrect value would overflow..SH EnvironmentWhen your program is compiled using the System V environment,if the correct value would overflow,.PN hypotreturns HUGE and sets \fIerrno\fP to ERANGE..PPThese error-handling procedures may be changed with the function.MS matherr 3m ..PPThe .PN cabssubroutine does not exist in the System V environment.For sqrt, see .MS exp 3m ..SH See Alsoexp(3m) 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -