Sujet : Re: Interval Comparisons
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.cDate : 07. Jun 2024, 11:45:05
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v3uobg$21g4g$4@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12
User-Agent : Pan/0.158 (Avdiivka; )
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 “>=”).