GMP 6.2.1 released

Dennis Clarke dclarke at blastwave.org
Sun Nov 15 16:18:20 UTC 2020


On 11/14/20 6:04 PM, Vincent Lefevre wrote:
> On 2020-11-14 23:40:30 +0100, Marco Bodrato wrote:
>> A new minor release of the GNU Multiple Precision Arithmetic Library
>> (GMP) is now available.  The new release is identified as 6.2.1.
> 
> Thanks. https://gmplib.org/gmp6.2 and https://gmplib.org/manual/ still
> mention 6.2.0. Will these web pages be updated?
> 

I am happy to report that compile is beautiful and all tests are perfect
on FreeBSD UNIX for the RISC-V rv64imafdc architecture and a few quick
little tests look wonderful :

ijiraq$
ijiraq$ ./mpfr_ver
-------------------------------------------------------------
           system name = FreeBSD
             node name = ijiraq
               release = 13.0-CURRENT
               version = FreeBSD 13.0-CURRENT #0 r367349: Wed Nov  4
22:48:25 UTC 2020
root at FreeBSD-head-riscv64-build.jail.ci.FreeBSD.org:/usr/obj/usr/src/riscv.riscv64/sys/QEMU
               machine = riscv
             page size = 4096
          avail memory = 8579059712
                       = 8377988 kB
                       = 8181 MB
                endian = little endian
 sizeof(unsigned long) = 8
           sizeof(int) = 4
         sizeof(void*) = 8
     fp rounding mode is FE_TONEAREST
-------------------------------------------------------------
GMP  library version : 6.2.1
MPFR library: 4.1.0
MPFR header : 4.1.0 (based on 4.1.0)
            : compiled as thread safe using TLS
MPFR thresholds file used at compile time : default
INFO : using 113 bits of precision.


time for mpfr_cont_pi() was 25576800 nsecs

pi may be 3.14159265358979323846264338327950280e+00

INFO : also Eulers number e
may be 2.71828182845904523536028747135266231e+00

pi/4 may be 7.85398163397448309615660845819875699e-01

atan(1) * 4 may be 3.14159265358979323846264338327950280e+00

delta( atan(1) * 4 ) - pi = 0 exactly.

ijiraq$

Funny thing.

This was on a FreeBSD build with LLVM/Clang and only the amd64
environment has a fit about an itty bitty macro issue that doesn't
really exist at all :

   https://gmplib.org/list-archives/gmp-discuss/2020-August/006556.html

Torbjörn Granlund already addressed that and there are no problems
seen other than LLVM/Clang being a bit "special".

Wonderful code!  Thank you !

-- 
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional




More information about the gmp-discuss mailing list