C++ long long

Marc Glisse marc.glisse at inria.fr
Tue Apr 19 20:24:35 CEST 2022


If nobody complains and I don't see something horribly flawed in the 
patch, I am going to push this version, which for now only adds 
initialization and assignment from long long when in C++11 mode (I expect 
we will remove support for C++ compilers without long long in the next 
release, but for now it is conditional).

It doesn't add interoperability for other operations, so z+1LL will still 
fail. Handling all operations can require a lot more code, depending on 
how it is done, and can be done later. Conversions are already quite 
useful for users, in particular they are sufficient to let Eigen use 
mpq_class as a custom scalar type on windows.

-- 
Marc Glisse
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ll3.patch
Type: text/x-diff
Size: 13614 bytes
Desc: 
URL: <https://gmplib.org/list-archives/gmp-devel/attachments/20220419/6f759c65/attachment.bin>


More information about the gmp-devel mailing list