Sujet : Re: Interval Comparisons
De : already5chosen (at) *nospam* yahoo.com (Michael S)
Groupes : comp.lang.cDate : 07. Jun 2024, 12:51:09
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20240607145109.0000652d@yahoo.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13
User-Agent : Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32)
On Fri, 7 Jun 2024 10:45:05 -0000 (UTC)
Lawrence D'Oliveiro <
ldo@nz.invalid> wrote:
On Fri, 7 Jun 2024 11:28:23 +0100, bart wrote:
However, 'a > b <= c' is not clear.
One thing it would have been handy to have is some way of saying
b < a or b > c
in a chained comparison somehow. In other words, “not (a < b < c)”
without the negation and need for the parentheses (and
correspondingly for the obvious usages of “<=” and “>=”).
"Out of range" expressed as negation of "in range" looks to me as least
confusing.