GMP and MySql

Daniele Varrazzo daniele.varrazzo at gmail.com
Wed Nov 23 17:20:26 CET 2011


On Tue, Nov 22, 2011 at 10:57 PM, Kim Prince <kim at kimprince.com> wrote:
> I am looking for a way to use bitwise functions (AND, OR, XOR) on arbitrary
> precision integers (represented as strings) within MySql.  Can anyone point
> me in the right direction on this?  Thanks!

If you are not bound to MySQL yet, PostgreSQL has complete bindings to
GMP, including bitwise functions:

http://pgmp.projects.postgresql.org/mpz.html#logical-and-bit-manipulation-functions

-- Daniele


More information about the gmp-discuss mailing list