Remove #include <math.h> where not needed

Álvaro Herrera <alvherre@kurilemu.de>

Commit: 35e3fae738e63f4154814dd51d3806d8d8b7b673
Author: Álvaro Herrera <alvherre@kurilemu.de>
Date: 2026-01-15T18:09:47Z
Remove #include <math.h> where not needed

Liujinyang reported the one in binaryheap.c, I then found and analyzed
the rest.

For future patches, we require git archaelogical analysis before we
accept patches of this nature.

Co-authored-by: liujinyang <21043272@qq.com>
Co-authored-by: Álvaro Herrera <alvherre@kurilemu.de>
Discussion: https://postgr.es/m/tencent_6B302BFCAF6F010E00AB5C2C0ECB7AA3F205@qq.com

Files

Discussion