NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PR/55695 CVS commit: src/games/factor



The following reply was made to PR bin/55695; it has been noted by GNATS.

From: Andreas Gustafsson <gson%gson.org@localhost>
To: "Christos Zoulas" <christos%netbsd.org@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: PR/55695 CVS commit: src/games/factor
Date: Sat, 10 Oct 2020 11:46:06 +0300

 Christos Zoulas committed:
 >  Modified Files:
 >  	src/games/factor: factor.c
 >  
 >  Log Message:
 >  PR/55695: Andreas Gustafsson: factor(6) -h option doesn't always work
 >  Handle -h for factors greater than the primes table.
 >  
 >  
 >  To generate a diff of this commit:
 >  cvs rdiff -u -r1.33 -r1.34 src/games/factor/factor.c
 
 This does fix the reported problem, but it introduces a new one: now
 large repeated factors are printed as x^n even when the -h option is
 not specified:
 
   # /usr/games/factor 4295360521
   4295360521: 65539^2
 
 -- 
 Andreas Gustafsson, gson%gson.org@localhost
 


Home | Main Index | Thread Index | Old Index