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: |
da2cb422fe50c76628c768ed31ac8e37 |
| 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
Modified generic/tclExecute.c
from [222f5dc0eb]
to [506e12ade7].
[diff]