Overview
| Artifact ID: | 5d2cc9fad8becc71b567c8ea96de01b0c45ad94d46f8453cd64a598799dc1aa0 |
|---|---|
| Ticket: | 8dd2807066d7cc4d8604164f39b7f0d65c0dc321
bug in single-argument 'max' with bignums |
| User & Date: | jan.nijtmans on 2025-11-10 20:09:27 |
Changes
- icomment:
@sebres, I agree with your analysis. I think it's possible to construct a testcase demonstrating this cornercase, but even without such testcase I agree. What a teamwork! :-) I also agree with Ashok's proposal. The reason two GetNumberFromObj() calls after each-other do no harm in this case is because the returned value is not used any more. The actual value is later obtained by another Tcl_GetBignumFromObj() calls. So, +1 on all suggestions.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"