Ref math log2:修订历史

本页内容
上一节: Ref_math_log1p 下一节: Ref_math_perm

差异选择:选中要对比的版本的单选按钮,按Enter键或下方的按钮。
说明:(当前)=与最后版本之间的差异,(之前)=与上一版本之间的差异,=小编辑。

    2022年8月17日 (星期三)

    • 当前之前 21:512022年8月17日 (三) 21:51Neo 讨论 贡献 997字节 +997 创建页面,内容为“{{DISPLAYTITLE:math.log2(x)}}44 = Python math.log2() 方法 = Python math 模块 Python '''math.log2(x)''' 方法返回 x 以 2 为底的对数。 === 语法 === math.log2() 方法语法如下: <sample title="" desc="" lang="python" hererun="1"> math.log2(x) </sample> '''参数说明:''' * '''x''' -- 必需,数字。如果 x 不是一个数字,返回 TypeError。如果值为 0 或负数,则返回 ValueErr…”
上一节: Ref_math_log1p 下一节: Ref_math_perm