[sv-ec] randcase question

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Wed Oct 21 2009 - 09:52:32 PDT
Hi,

18.16 says,

"Each call to randcase retrieves one random number in the range of 0 to the sum of the weights. The weights are then selected in declaration order: smaller random numbers correspond to the first (top) weight statements."

In the first sentence, should the upper limit of the range be "sum of the weights minus 1" instead of "sum of the weights"?

Thanks,
Shalom

Shalom Bresticker
Intel LAD DA, Jerusalem, Israel
+972  2 589 6582 (office)
+972 54 721 1033 (cell)
http://www.linkedin.com/in/shalombresticker


---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Wed Oct 21 09:54:15 2009

This archive was generated by hypermail 2.1.8 : Wed Oct 21 2009 - 09:55:46 PDT