python 正无穷
时间: 2023-10-15 11:31:23 浏览: 99
超级无敌python
在Python中,表示正无穷的方式是使用float('inf')。 <span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [python正负无穷float(“inf“)、float(“-inf“)的用法](https://blog.csdn.net/qq_34243930/article/details/108818664)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [Python的特殊数字类型(无穷大、无穷小等)](https://blog.csdn.net/qq_49821869/article/details/123520155)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文