twitter/algebird — pull request #361 by miguno (2014-11-20 11:13:50+00:00)
Title: Improve `require` setup for depth/delta and associated test spec

This is the last remaining todo on the pull request https://github.com/twitter/algebird/pull/354 for `CMS[K]` functionality, see my (now hidden by the GitHub UI) [comment in the PR discussion](https://github.com/twitter/algebird/pull/354#discussion_r20573866).

This commit improves the input validation of the key CMS parameters (delta/depth, eps/width) to prevent the user from mistakenly passing in values that trigger type precision errors. Without this PR, the user may pass in values that lead to the generation of counting tables with delta == 2 billion rows (`Max.IntValue`).