Overview
| Artifact ID: | e941ed7ee793de80fd3e772b0e5b0f830dbfb675 |
|---|---|
| Ticket: | 758488ffffffffffffffffffffffffffffffffff
improved docs for 64-bit computations |
| User & Date: | hgschulz on 2003-06-23 01:43:20 |
Changes
- icomment:
Logged In: YES user_id=115926 The documentation at http://www.tcl.tk/man/tcl8.4/TclCmd/expr.htm does not indicate that pow() converts the arguments to double or that it returns a double. In addition, << and >> only mention that they work with 'integers'. The documentation also says: "On 32-bit systems, integer values MAX_INT (0x7FFFFFFF) and MIN_INT (-0x80000000) will be represented as 32-bit values, and integer values outside that range will be represented as 64-bit values (if that is possible at all.)" Thus, from the description, one can reasonably assume that 1 << 48, say, will produce a valid 64-bit number, not some 32-bit result.
- login: "hgschulz"
- mimetype: "text/plain"
- username: "hgschulz"