Skip to content

Commit 2516dc4

Browse files
authored
Update 9.md
1 parent 816cda6 commit 2516dc4

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

md/9.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ In [1]: float('3')
1717
Out[1]: 3.0
1818
```
1919

20+
```python
21+
import sys
22+
23+
In[4]: sys.float_info.max
24+
Out[4]: 1.7976931348623157e+308
25+
```
26+
2027
正无穷大、负无穷大
2128
```python
2229
float('inf') # 正无穷大

0 commit comments

Comments
 (0)