Overview
| Artifact ID: | 06d0e049687c23f314cff5d0a246601e70c7f1367870a13f050ee91dd99ffef9 |
|---|---|
| Ticket: | 931802a0f552db2e96d2ecf2439bdfb393b49451
Require Tcl_WideInt/Tcl_WideUInt to be exactly 64 bits |
| User & Date: | jan.nijtmans on 2022-09-06 10:30:37 |
Changes
- assignee changed to: "jan.nijtmans"
- icomment:
See TIP #476: <pre> Whenever possible, typedef `Tcl_WideInt` to be equal to `long long`, even on platforms where long has the same size as `long long`. </pre> I don't think there's any platform (still supported by Tcl 8.7) which doesn't have "long long". Does that answer your concern? Indeed, changing Tcl_WideInt is a binary incompatible thing to do. I just consider it the same as "long long". The biggest problem using __int128 would be that there is no matching printf modifier. Does 'inttypes.h' have a definition for 'PRId128'??? I never say that anywhere. Tcl has 'TCL_LL_MODIFIER'(see the same TIP), that wouldn't work any more
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"