aboutsummaryrefslogtreecommitdiff
path: root/games/primes/primes.c
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2001-12-27 13:33:10 +0000
committerPeter Pentchev <roam@FreeBSD.org>2001-12-27 13:33:10 +0000
commitca33a43ede6dbaf0049a29341bceeb0f13496eff (patch)
treebdf9e91497df0f5ec85fdfdc6105d18e88268c40 /games/primes/primes.c
parent6361070e8297579a0ba9bc2cbaddb85ea085f95e (diff)
downloadsrc-ca33a43ede6dbaf0049a29341bceeb0f13496eff.tar.gz
src-ca33a43ede6dbaf0049a29341bceeb0f13496eff.zip
Fix a typo. While 'iff' might make sense in a mathematics-related text,
'if and only iff' does not. PR: 33242 Submitted by: Eric Yu <ericyu@mail2000.com.tw>
Notes
Notes: svn path=/head/; revision=88530
Diffstat (limited to 'games/primes/primes.c')
-rw-r--r--games/primes/primes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/primes/primes.c b/games/primes/primes.c
index b7f0c602497c..ec680deb662e 100644
--- a/games/primes/primes.c
+++ b/games/primes/primes.c
@@ -82,7 +82,7 @@ static const char rcsid[] =
*
* We only sieve the odd numbers. The base of our sieve windows are always
* odd. If the base of table is 1, table[i] represents 2*i-1. After the
- * sieve, table[i] == 1 if and only iff 2*i-1 is prime.
+ * sieve, table[i] == 1 if and only if 2*i-1 is prime.
*
* We make TABSIZE large to reduce the overhead of inner loop setup.
*/