Tim Peters wrote: > [Batista, Facundo] >> The round() method has the appealing that it could has the same >> name/meaning/function that the built in round(). > > As Tim Delaney said later, the best way to do that would be to change > the > implementation of Python's builtin round(). I don't think changing > Python (beyond adding the new module) is in scope for the first > release, though. I think we probably want a supplemental PEP for upgrading the `math` module plus appropriate builtins (like round) to handle Decimal. A quick scan through the docs reveals - All the `math` module (thin wrappers for float, hand-written code for Decimal I guess). - abs - divmod - pow - round which look like candidates. Tim Delaney
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4