[Simh] An abandoned piece of K&R C

Bob Eager rde at tavi.co.uk
Fri Nov 3 06:33:01 EDT 2017


On Thu, 2 Nov 2017 22:14:42 -0700
Leo Broukhis <leob at mailcom.com> wrote:

> https://retrocomputing.stackexchange.com/q/4965/4025
> 
> 
> In the UNIX V7 version of the C language, there were the /\ (min) and
> the \/ (max) operators.

As an aside, many will know that C is based on B, and B was based on
BCPL.

I used BCPL a *lot*. The logical AND operator in BCPL could be written
as:

  AND
  &
  /\

and logical OR could be written as:

  LOGOR
  |
  \/

Perhaps someone decided it would be confusing.


More information about the Simh mailing list