model-writtenrun 6267 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Dean Rasheed reported that to_char(1.2e-1002, '9.9EEEE') raised a division-by-zero error while testing separate numeric_power() work #1.
- Dean traced the failure to get_str_from_var_sci() using power_var_int() to calculate a denominator that underflowed to zero because of its scale limit #1.
- Dean proposed directly constructing powers of ten with a new power_ten_int() helper, avoiding numeric multiplication and rounding, and attached regression tests covering very small and very large exponents #1.
- In the thread's final message, Dean announced his intention to commit the straightforward fix so he could use to_char() in new numeric regression tests; no other participant reviewed the patch in the supplied thread #2.
- Dean subsequently committed the attached patch unchanged apart from rebasing as 226ec49ffd, completing the fix proposed in #1.