Boost logo

Boost :

From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-09-06 08:49:42


On Thursday 05 September 2002 11:59 pm, Joel Young wrote:
> From: Douglas Gregor <gregod_at_[hidden]>
>
> > I can vouch for the need for the definition:
> > [a,b] RelOp [c,d] := x RelOp y for all (x, y) where a <= x <= c, b <= y
> > <= d
>
> Hi Doug,
>
> Could you describe some of the RelOps you find interesting?

<, <=, ==, !=, >=, > are all useful for me. Basically, I just need the
standard integer relations defined for intervals so that I can answer the
question:
  If x is in the interval [a,b] and y is in the interval [c,d], what is the
result of x RelOp y?

The result may be (always) true, (always) false, or indeterminate.

        Doug


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