Re: Improving and extending int128.h to more of numeric.c
Dean Rasheed <dean.a.rasheed@gmail.com>
From: Dean Rasheed <dean.a.rasheed@gmail.com>
To: John Naylor <johncnaylorls@gmail.com>
Cc: Andres Freund <andres@anarazel.de>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2025-07-15T00:10:20Z
Lists: pgsql-hackers
Attachments
- v5-0001-Convert-src-tools-testint128.c-into-a-test-module.patch (text/x-patch) patch v5-0001
- v5-0005-Extend-int128.h-to-support-more-numeric-code.patch (text/x-patch) patch v5-0005
- v5-0002-Refactor-int128.h-bringing-the-native-and-non-nat.patch (text/x-patch) patch v5-0002
- v5-0004-Simplify-non-native-64x64-bit-multiplication-in-i.patch (text/x-patch) patch v5-0004
- v5-0003-Optimise-non-native-128-bit-addition-in-int128.h.patch (text/x-patch) patch v5-0003
On Mon, 14 Jul 2025 at 22:07, Dean Rasheed <dean.a.rasheed@gmail.com> wrote:
>
> > warning: format ‘%lX’ expects argument of type ‘long unsigned int’,
> > but argument 4 has type ‘int32’ {aka ‘int’} [-Wformat=]
> >
> v4 attached.
v5 attached, fixing some more printf-related compiler warnings, this
time from the original test code.
Regards,
Dean
Commits
-
Guard against division by zero in test_int128 module.
- 7e2af1fb1118 19 (unreleased) landed
-
Extend int128.h to support more numeric code.
- d699687b329e 19 (unreleased) landed
-
Simplify non-native 64x64-bit multiplication in int128.h.
- d8a08dbee46c 19 (unreleased) landed
-
Optimise non-native 128-bit addition in int128.h.
- d9bb8ef093d6 19 (unreleased) landed
-
Refactor int128.h, bringing the native and non-native code together.
- 5761d991c984 19 (unreleased) landed
-
Convert src/tools/testint128.c into a test module.
- 8c7445a00810 19 (unreleased) landed