Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2001 05:09:55 -0800 (PST)
From:      Eric Yu <ericyu@mail2000.com.tw>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/33242: misspelling in primes.c
Message-ID:  <200112271309.fBRD9tT22279@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         33242
>Category:       misc
>Synopsis:       misspelling in primes.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 27 05:10:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Eric Yu
>Release:        4.4-RELEASE
>Organization:
none
>Environment:
>Description:
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.
>Release-Note:
>Audit-Trail:
>Unformatted:

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?200112271309.fBRD9tT22279>