[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gmp-bugs
Subject:    Re: mini-gmp mpz_gcdext =?utf-8?Q?B=C3=A9zout?= coefficients do not match documentation
From:       Niels_Möller <nisse () lysator ! liu ! se>
Date:       2024-02-18 19:27:15
Message-ID: cpf5xylpo8c.fsf () shipon ! lysator ! liu ! se
[Download RAW message or body]

marco.bodrato@tutanota.com writes:

> The only reason why I prefer my solution is: when cmp<0, there is no need to compute
> mpz_sub (t1, t0, t1);

That's certainly a micro optimization, but let's keep things simple.

I've pushed this fix now, I think there were only comment and ChangeLog
changes since the previous version of the patch.

Thanks for the review,
/Niels

-- 
Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677.
Internet email is subject to wholesale government surveillance.
_______________________________________________
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic