ocaml-batteries-team/batteries-included — pull request #274 by jathd (2012-06-24 03:11:20+00:00)
Title: Make BatInt.pow raise Invalid_argument for negative exponents.

This goes for `BatInt.Safe_int.pow` as well. The documentation is updated to
reflect the change, and tests are implemented.

On a side note: I couldn't implement tests for `BatInt.Safe_int.pow`, because as far as I can tell qtest doesn't seem to support nested modules. Is there a trick or is it just not possible?