sqrt.3m

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3M 代码 · 共 49 行

3M
49
字号
.TH sqrt 3m RISC.ds up \fIulp\fR.ds nn \fINaN\fR.SH Namecbrt, sqrt \- cube root, square root.SH Syntax.nf.B #include <math.h>.PP.B double cbrt(\fIx\fP).B double \fIx\fP;.PP.B double sqrt(\fIx\fP).B double \fIx\fP;.PP.B float fsqrt(float \fIx\fP).B float \fIx\fP;.fi.SH DescriptionThe .PN cbrtfunction returns the cube root of \fIx\fP..PPThe .PN sqrt and.PN fsqrtfunctions return the square root of \fIx\fP for double and floatdata types respectively..SS "Error Due to Roundoff and Other Reasons"The .PN cbrtfunction is accurate to within 0.7 \*(ups..PPThe .PN sqrtfunction on this machine conforms to IEEE 754 and is correctly roundedin accordance with the rounding mode in force; the error is less thanhalf an \*(up in the default mode (round\-to\-nearest).An \*(up is one \fIU\fRnit in the \fIL\fRast \fIP\fRlace carried..SH DiagnosticsThe .PN sqrtfunction returns the default quiet \*(nn when .I x\^is negative indicating the invalid operation..SH See Alsomath(3m)

⌨️ 快捷键说明

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