Consolidate the int and long sequence repeat code.  Before the change,
integers checked for integer overflow but longs did not.
2 files changed