mini-gmp mpz_{get,set}_d not fully compatible with GMP

Marc Glisse marc.glisse at
Fri Mar 9 16:41:49 UTC 2018

On Fri, 9 Mar 2018, Torbjörn Granlund wrote:

>  For GMP, it's desirable to fix also the non IEEE-version.
> That would have some value, I suppose, although non-IEEE formats of
> course have become largely obsolete.

This code is mostly used not for non-IEEE formats, but for cases where we 
fail to detect that it *is* IEEE. For instance when compiling to bitcode 
(gcc LTO, LLVM, webassembly, etc). Of course, better IEEE detection would 
help those more than fixing the fallback path.

Marc Glisse

More information about the gmp-devel mailing list