Date: Thu, 27 Dec 2001 09:55:00 -0600 From: Andy Isaacson <adi@hexapodia.org> To: Eric Yu <ericyu@mail2000.com.tw>, roam@FreeBSD.org Cc: freebsd-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: misc/33242: misspelling in primes.c Message-ID: <20011227095500.B8252@hexapodia.org> In-Reply-To: <200112271309.fBRD9tT22279@freefall.freebsd.org>; from ericyu@mail2000.com.tw on Thu, Dec 27, 2001 at 05:09:55AM -0800 References: <200112271334.fBRDYvk32416@freefall.freebsd.org> <200112271309.fBRD9tT22279@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 27, 2001 at 05:09:55AM -0800, Eric Yu wrote: > On src/games/primes/primes.c, line 85, "if and onl if". > > >How-To-Repeat: > In the file. > > >Fix: > - * 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. To a mathematician, the phrase "table[i] == 1 iff 2*i-1 is prime" is equivalent to "table[i] == 1 if and only if 2*i-1 is prime". That is, "iff" is a neologism for "if and only if". So it is not a misspelling, but a redundancy. :) -andy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011227095500.B8252>