exp.3m
来自「unix v7是最后一个广泛发布的研究型UNIX版本」· 3M 代码 · 共 77 行
3M
77 行
.TH EXP 3M .SH NAMEexp, log, log10, pow, sqrt \- exponential, logarithm, power, square root.SH SYNOPSIS.B #include <math.h>.PP.B double exp(x).br.B double x;.PP.B double log(x).br.B double x;.PP.B double log10(x).br.B double x;.PP.B double pow(x, y).br.B double x, y;.PP.B double sqrt(x).br.B double x;.SH DESCRIPTION.I Expreturns the exponential function of .I x..PP.I Logreturns the natural logarithm of .IR x ;.I log10returns the base 10 logarithm..PP.I Powreturns.I x\u\s8y\s10\d..PP.I Sqrtreturns the square root of .I x..SH SEE ALSOhypot(3),sinh(3),intro(2).SH DIAGNOSTICS.I Expand.I powreturn a huge value when the correct value wouldoverflow;.I errnois set to ERANGE..I Powreturns 0 and sets.I errnotoEDOM when the second argument is negative and non-integral andwhenboth arguments are 0..PP.I Logreturns 0 when.I xis zero or negative;.I errnois set to EDOM..PP.I Sqrtreturns 0 when .I xis negative;.I errnois set to EDOM.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?