Question confused about compress_trinary_expr description 

Forum: Com Sci 12500, U Chicago, Autumn 2002, Discuss Classwork
Re: News Project Step #3, deadline Monday 18 November (Mike O'Donnell)
Date: 2002, Nov 15
From: Aaron Baum <aibaum@uchicago.edu>

In describing the iterative process of compress_trinary_expr you say that:

Suppose that -1 <= t1 <= 1 and -4 <= t2 <= 4. By expanding t1 into the range -2 <= t1 <= 2, we may compress t2 into the range -1 <= t2 <= t3.

Should it be t1 instead of t3 when you say -1 <= t2 <= t3?

The reason I ask is because, as I understand it, the value of t3 could be

 t3 = -4, -3, -2, -1, 0, 1, 2, 3, 4.

If t3 = -4, for instance, then the inequality doesn't make sense, since we'd have -1 <= t2 <= -4.

Thanks.


Messages

1. Feedback SHould have been -1 <= t2 <= 1 by Mike O'Donnell, 2002, Nov 15

to: "confused about compress_trinary_expr description"