libc.strcmp() behaves similar.

From: Dave Horsfall <dave@horsfall.org>
Sent: Sun, 13 Aug 2017 09:57:47
To: The Eunuchs Hysterical Society <tuhs@tuhs.org>
Subject: Re: [TUHS] origin of string.h and ctype.h

On Sat, 12 Aug 2017, Steve Johnson wrote:

> Don't have much to add except to note that early FORTRANs had a version
> of IF that took three statement numbers and did a (gasp) GOTO to the
> first if the expression in the IF was negative, to the second if it was
> 0, and to the third if it was positive.    And some mainframes had an
> instruction that did exactly that as well...

Wasn't that the computed GOTO?

--
Dave Horsfall DTM (VK2KFU)  "Those who don't understand security will suffer."