|
|
Le Forgeron <jgr### [at] freefr> wrote:
> would you subtract c from b or (a+b) ?
>
> Also, how would you interpret
> union { a minus b minus c d } ?
>
> Too much ambiguity for my taste.
So, let`s look on
union{
a
b
minus c
d
}
yes, it equal to ((a+b)-c)+d
So
union{
a
minus b
c
}
not equal to
union{
a
c
minus b
}
Order, in which objects allocated, very significant here.
Your`s sample "union { a minus b minus c d }" is equal to next clause:
union{ // ((a minus b) minus c) + d
difference{ // (a minus b) minus c
difference{ // a minus b
a
b
}
c
}
d
}
Post a reply to this message
|
|