summaryrefslogtreecommitdiffstats
path: root/games/primes/primes.c
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2001-12-27 13:33:10 +0000
committerroam <roam@FreeBSD.org>2001-12-27 13:33:10 +0000
commit7ee6de3f93457bd63be69aa00d5580bf67e1e647 (patch)
treebdf9e91497df0f5ec85fdfdc6105d18e88268c40 /games/primes/primes.c
parent7ebd5ff8eed6680338fef2e4e907aecb78ddcd47 (diff)
downloadFreeBSD-src-7ee6de3f93457bd63be69aa00d5580bf67e1e647.zip
FreeBSD-src-7ee6de3f93457bd63be69aa00d5580bf67e1e647.tar.gz
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>
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 b7f0c60..ec680de 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.
*/
OpenPOWER on IntegriCloud