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

Check-in [da2cb422fe]

Overview
Comment:Re-implement TclLog2() in terms of TclMSB with range limiting wrapped around the core function. NOTE: TclLog2() was implemented incorrectly. As written it was never going to return values 23 through 30. It would falsely pin them up to 31. This bug is still present on the trunk, so will need fixing if this branch is not approved to merge.
Timelines: family | ancestors | descendants | both | dgp-msb
Files: files | file ages | folders
SHA3-256: da2cb422fe50c76628c768ed31ac8e3757662b239db543ff3f4eaa5ff195f194
User & Date: dgp on 2025-04-17 17:44:54.915
Other Links: branch diff | manifest | tags
Context
2025-04-22
16:30
Restore TclLog2() status to be available only for --enable-symbols=compile check-in: 05cb7c174e user: dgp tags: dgp-msb
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
Changes