Re: [PATCH 3/9] gmp-utils: New API to simply use of GMP's integer/rational/float objects

Tom Tromey
2020-11-16T16:18:22Z

Tom> Also perhaps instead of updating these we should reconsider using the
Tom> c++ classes that come with gmp. See gmpxx.h or
Tom> (info "(gmp) C++ Class Interface")
Tom> (I'm don't recall why these weren't used, maybe it's the caveat in the
Tom> manual. However I think we can probably deal with that ok.)

I took a brief look at this, and this isn't a header-only wrapper -- it
requires another library, and at least on Fedora this is packaged
separately. For me at least this puts it into the "overkill" category;
so I plan to look at just modifying our wrapper classes instead.

Tom