Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2002-08-01 17:20:17


At 12:37 PM 8/1/2002, Douglas Gregor wrote:

>I've just placed a 3-state boolean type in the sandbox, ...

I almost suggested the same thing a few months ago, under the name
fuzzy_bool, because I needed it in an application.

But it turned out the only thing fuzzy was my application design, and I
lost interest in fuzzy_bool once the application design moved on.

In fact that has been my experience with three-state logic every time I've
run into it. Either the application turns out to be trivial to do with
regular two-state logic, or seriously vague logic is needed and the app
moves to a weighed logic scheme. But maybe if it were a component sitting
in a library, more uses would be found.

A historical note - circa 1968 - Computer Design magazine ran a series of
articles on three-state hardware logic.

Knuth called the three states flip-flop-flap, IIRC:-)

--Beman


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk