Message337459
| Author | nagayev |
|---|---|
| Recipients | josh.r, lemburg, mark.dickinson, nagayev, rhettinger, stutzbach, zach.ware |
| Date | 2019-03-08.09:44:41 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1552038281.46.0.864711191416.issue36228@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
Oh, __floor__ can return anything. So I suggest: 1. Methods __floor__ and __ceil__ for complex object. 2. Don't change __float__ and __int__ methods. 3. So I think it isn't nessesary to add methods floor and ceil to complex module. Example: from math import * z=1.1+1.1j floor(z) #1+1j, same as z.__floor__() ceil(z) #2+2j, samse as z.__ceil__() |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019-03-08 09:44:41 | nagayev | set | recipients: + nagayev, lemburg, rhettinger, mark.dickinson, stutzbach, zach.ware, josh.r |
| 2019-03-08 09:44:41 | nagayev | set | messageid: <1552038281.46.0.864711191416.issue36228@roundup.psfhosted.org> |
| 2019-03-08 09:44:41 | nagayev | link | issue36228 messages |
| 2019-03-08 09:44:41 | nagayev | create | |