Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #238860

Category gcoreutils
Changed by Paul Eggert <eggertohnoyoudont@cs.ucla.edu>
Changed at Thu 10 Jul 2025 02:12:40
Repository git://git.savannah.gnu.org/coreutils.git
Project gcoreutils
Branch master
Revision 37fbbc537375bce2d7e9f26ca47a84dffddfa56f

Comments

factor: faster gcd_odd since 2nd is odd
* src/factor.c (gcd_odd, gcd2_odd): Speed up, given that the
second argument is always odd.
(gcd_odd): Avoid recomputing a temporary.
(gcd2_odd): Test for zero only if a multiple of B.
This saves an ‘assume’.

Changed files