Browse Source

Set

pull/3/head
Jure Šorn 6 years ago
parent
commit
5090ed7ccb
1 changed files with 6 additions and 2 deletions
  1. 8
      README.md

8
README.md

@ -271,7 +271,7 @@ Numbers
```python
round(<num>[, ndigits])
abs(<num>)
math.pow(x, y) # == x**y
math.pow(x, y) # Or: x**y
```
### Constants
@ -294,9 +294,13 @@ log2(x) # Base 2
### Infinity, nan
```python
from math import inf, nan, isfinite, isinf, isnan
```
#### Or:
```python
float('inf')
float('nan')
from math import inf, nan, isfinite, isinf, isnan
```
### Random

Loading…
Cancel
Save