Dan Sugalski <[EMAIL PROTECTED]> wrote:
> Okay, so:

> 4) Addition and subtraction of ints produces an int

???

> 5) Multiplication of two ints produces a bignum or an int, depending
> on the result

Why that difference?

 Int <op> Int gives Bigint or Int (whatever fits)
   for <op> in (abs, neg, add, sub, mul)

And don't forget corner cases.

What about bitwise ops BTW, e.g. left shift.

> That seem reasonable?

Else yes.

leo

Reply via email to