The table labeled "Table 22. CEIL (n*3.32) and CEIL (n/3.32) values" at http://publib.boulder.ibm.com/infocenter/ratdevz/v7r1m1/index.jsp?topic=/com.ibm.ent.pl1.zos.doc/topics/ibml2mst42.htm has incorrect values in the "CEIL (n*3.32)" column for n=25 and n=28. For n=25, it lists 83; for n=28, it lists 93. While CEIL (25*3.32) does in fact equal 83 and CEIL (28*3.32) = 93, the values should be 84 and 94, respectively; 10^25-1 needs 84 bits and 10^28-1 needs 94.

The problem is 3.32 is not a precise enough approximation to log2(10).

Topic

NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.

This topic has been locked.

No replies