Overview
| Artifact ID: | a87927d68643fa1ced23638f59362fab3601e761 |
|---|---|
| Ticket: | 1340260fffffffffffffffffffffffffffffffff
Simplify round() implementation in expr cmd |
| User & Date: | dgp on 2005-11-01 22:18:27 |
Changes
- icomment:
Logged In: YES user_id=80530 Here's a test case: test expr-46.13 {round() handling of long/bignum boundary} { expr {round(double(0x7fffffffffffffff))} } 9223372036854775808 With the contributed patch, on L64 systems: ==== expr-46.13 round() handling of long/bignum boundary FAILED ==== Contents of test case: expr {round(double(0x7fffffffffffffff))} ---- Result was: -9223372036854775808 ---- Result should have been (exact matching): 9223372036854775808 ==== expr-46.13 FAILED On the HEAD, the test passes. Committing that to the test suite... - login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Rejected"
- status changed to: "Closed"
- username: "dgp"