Ref math inf:修订历史

本页内容
上一节: Ref_math_e 下一节: Ref_math_nan

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

    2022年8月17日 (星期三)

    • 当前之前 21:502022年8月17日 (三) 21:50Neo 讨论 贡献 793字节 +793 创建页面,内容为“{{DISPLAYTITLE:math.inf}}2 = Python math.inf 常量 = Python math 模块 Python '''math.inf''' 正无穷大的浮点数,负无穷大,使用 -math.inf 。 '''math.inf''' 相当于 float('inf') 的输出。 === 语法 === math.inf 常量语法如下: <sample title="" desc="" lang="python" hererun="1"> math.inf </sample> === 返回值 === 返回一个浮点数,表示正无穷大。 == 以下实例返回正…”
上一节: Ref_math_e 下一节: Ref_math_nan