]> gitweb.factorcode.org Git - factor.git/commitdiff
math.primes.erato: fix typo in docs
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Sat, 23 Oct 2010 01:26:08 +0000 (18:26 -0700)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Sat, 23 Oct 2010 01:26:08 +0000 (18:26 -0700)
basis/math/primes/erato/erato-docs.factor

index 1e32818fe3ac8e07d31fb82ce995b2d7d324ed05..75e3846dc11a7238c1c104f7fb42db1bbd4927a9 100644 (file)
@@ -3,8 +3,8 @@ IN: math.primes.erato
 
 HELP: sieve
 { $values { "n" "the greatest odd number to consider" } { "arr" "a bit array" } }
-{ $description "Apply Eratostene sieve up to " { $snippet "n" } ". Primality can then be tested using " { $link sieve } "." } ;
+{ $description "Apply Eratostene sieve up to " { $snippet "n" } ". Primality can then be tested using " { $link marked-prime? } "." } ;
 
 HELP: marked-prime?
 { $values { "n" "an integer" } { "arr" "a byte array returned by " { $link sieve } } { "?" "a boolean" } }
-{ $description "Check whether a number between 3 and the limit given to " { $link sieve } " has been marked as a prime number."} ;
+{ $description "Check whether an odd integer between 3 and the limit given to " { $link sieve } " has been marked as a prime number."} ;