rename functions

This commit is contained in:
filifa
2025-10-07 17:28:31 -04:00
parent a9c7f8091b
commit 26c197318e
10 changed files with 15 additions and 16 deletions

View File

@@ -35,9 +35,9 @@ func radicalUpdateMultiples(sieve []uint, p uint, n uint) {
}
/*
RadicalSieve computes rad(k) for k=1 to n, where rad(n) is the radical of n.
Radical computes rad(k) for k=1 to n, where rad(n) is the radical of n.
*/
func RadicalSieve(n uint, buflen uint) chan uint {
func Radical(n uint, buflen uint) chan uint {
sieve := make([]uint, n)
sieve[0] = 0
for i := uint(1); i < n; i++ {