Overview
| Artifact ID: | af0ae9169028ad6cfe0735758c8b7ecb6821622caf6ace99c9c9feb927e75e5f |
|---|---|
| Ticket: | 45ddcfc3b1944869ffb1b3eca0250dc452d79537
Tcl_WideInt might be > long long (64-bit) |
| User & Date: | jan.nijtmans on 2021-01-08 10:22:58 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
According to the comments in tcl.h [https://core.tcl-lang.org/tcl/artifact?ln=390-422&name=4010d6ce1800f5a9], Tcl_WideInt can be redefined using TCL_WIDE_INT_TYPE to be any type >= 64 bits. In fact, doing that (modern gcc has __int128), a lot of test-cases fail. The TIP #592 implementation already improves things, by using "long long" instead of Tcl_WideInt, but - still - a lot of testcases fail because the core code assumes in a lot of places that Tcl_WideInt is _exactly_ 64-bits. This can only be fixed in 8.7, because then we can assume presence of the C99 "long long".
- foundin changed to: "8.6"
- is_private changed to: "0"
- login: "jan.nijtmans"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "jan.nijtmans"
- subsystem changed to: "48. Number Handling"
- title changed to: "Tcl_WideInt might be > long long (64-bit)"
- type changed to: "Bug"