Overview
| Artifact ID: | 89b8914d692a0634dd526d5e30f42e206a010a85 |
|---|---|
| Ticket: | 908375ffffffffffffffffffffffffffffffffff
round() doesn't support numbers larger than 31 bits |
| User & Date: | hemanglavana on 2004-03-05 22:23:02 |
Changes
- icomment:
Logged In: YES user_id=81875 The current workaround for this issue is to use the wide() and add 0.5 to the number for rounding: hlavana-u5:81> tclsh % expr wide(2147483648.1) 2147483648 % expr wide(2147483648.9) 2147483648 % expr wide(2147483648.9+0.5) 2147483649 % expr wide(2147483648.1+0.5) 2147483648 %
- login: "hemanglavana"
- mimetype: "text/plain"
- username: "hemanglavana"