model-writtenrun 5109 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter Eisentraut proposed replacing all Abs() calls with standard C functions and then deleting the macro, noting that Abs(-0.0) incorrectly preserves negative zero; his four patches separated existing abs()/fabs() usage from newly introduced llabs()/fabsf() usage and macro removal #1.
- Zhang Mingli supported the proposal and supplied an additional patch converting three existing fabs() calls to fabsf(), extending the original series #2.
- Tom Lane accepted the general cleanup but requested an int64-specific wrapper selecting labs() or llabs() according to the underlying type; this remained the outstanding revision at the thread’s last message #3.
- On October 7, the original abs()/fabs() replacement patch from #1 landed unchanged as f14aad5169.
- On October 8, e4c61bedcb combined the original fabsf() patch from #1 with the float4abs() conversion from #2; the proposed formatting.c and selfuncs.c conversions were omitted without an explanation in the supplied discussion.
- On October 10, 357cfefb09 landed the int64 replacements from #1, revised to use the type-dependent i64abs() wrapper requested in #3.
- On October 12, a699b7a7aa landed the unchanged macro-removal patch from #1, completing the original series; only two supplemental conversions from #2 are absent from the supplied commits.