IEEE P754

2023-07-31 Thread Paul Zimmermann
Hi, the reference manual mentions IEEE P754, which was the temporary name during the standard first version (Project 754 I guess). It should be replaced by IEEE 754, or better IEEE 754-2019 (the latest revision). Paul ___ gmp-bugs mailing list

Re: bug

2023-07-31 Thread Paul Zimmermann
Hi, as a complement to Torbjörn answer: 1) the decimal string 0.693...875 cannot be represented exactly within 3000 bits, thus the mpf_set_str() necessarily performs some rounding 2) the mpf_get_str() also has to perform some rounding, since you convert a 3000-bit number into a

Re: Outdated libtool creates trouble on macOS

2023-07-31 Thread FX Coudert
Fifth batch, fixing the following: warning: back quotes and double quotes must not be escaped in: $as_me:${as_lineno-$LINENO}: WARNING: the \"none\" host is obsolete, use --disable-assembly warning: back quotes and double quotes must not be escaped in: $as_me: WARNING: the \"none\" host is

Re: Outdated libtool creates trouble on macOS

2023-07-31 Thread FX Coudert
> Yes. But probably not this week for me, my holidays are just starting :-) No problem, I’ll continue to post small batches of changes here when I get some time. Third batch of changes, dealing with the following: warning: The macro `AC_CHECK_LIBM' is obsolete. warning: The macro

Re: Outdated libtool creates trouble on macOS

2023-07-31 Thread FX Coudert
> No problem, I’ll continue to post small batches of changes here when I get > some time. Fourth patch in the series, dealing with win32 DLL’s. You said you had issues with this before, I implemented the changes recommended by the manual (and did not use autoupdate, which is not always

Re: Outdated libtool creates trouble on macOS

2023-07-31 Thread FX Coudert
OK, final patch. This was the most painful, because I hate autoconf quoting, way too many brackets and parentheses. But the patch silences the remaining warnings about AC_TRY_COMPILE, AC_TRY_LINK, and AC_TRY_RUN. And it is verified to be a no-op in terms of the generated configure file (except

Re: Outdated libtool creates trouble on macOS

2023-07-31 Thread Niels Möller
FX Coudert writes: > From the generated files, it seems OK: the only effect is a change in > the position of some code. Still, it needs to be tested on Windows, > and I don’t have access to such machines. One option to get a kind of windows testing is to cross compile, ./configure