Skip to content
Tcl Source Code Check-in [85416bb01d]
Login

Check-in [85416bb01d]

Overview
Comment:The callers of TclLog2() needed its range to be limited to [0..31]. RequiredPrecision needs support for the full long long range. Create a new utility routine TclMSB() to provide the functionality without truncated range. Use it. Put it internal stubs anticipating testing.
Timelines: family | ancestors | descendants | both | dgp-msb
Files: files | file ages | folders
SHA3-256: 85416bb01de6f7b6d78c33f8225e269ce2b4119379896ee2a95039890e6c8386
User & Date: dgp on 2025-04-17 17:30:26.272
Other Links: branch diff | manifest | tags
Context
2025-04-17
17:44
Re-implement TclLog2() in terms of TclMSB with range limiting wrapped around the core function. NOT... check-in: da2cb422fe user: dgp tags: dgp-msb
17:30
The callers of TclLog2() needed its range to be limited to [0..31]. RequiredPrecision needs support ... check-in: 85416bb01d user: dgp tags: dgp-msb
16:41
Remove code that purports to handle the circumstance when sizeof(Tcl_WideUInt) > sizeof(long long) ... check-in: a4bdca1b16 user: dgp tags: dgp-msb
Changes