Overview
| Artifact ID: | b996e1884f393fea58d9e5cc7615e9314e2624d8 |
|---|---|
| Ticket: | 1340260fffffffffffffffffffffffffffffffff
Simplify round() implementation in expr cmd |
| User & Date: | mdejong on 2005-10-28 04:22:54 |
Changes
- assignee changed to: "kennykb"
- cmimetype changed to: "text/plain"
- comment changed to:
I was just reviewing the round() implementation in Tcl 8.4 vs Tcl 8.5. The round() implementation seems to be more complex than it needs to be. The attached patch simplifies the function so that it works more like the 8.4 version. I also added tests cases around the min int and max int cases. As far and I can tell, the results of no tests are changed by this patch. Kevin, could you review this patch before I apply it?
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "mdejong"
- subsystem changed to: "16. Commands A-H"
- title changed to: "Simplify round() implementation in expr cmd"
- type changed to: "Patch"