Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Eliminate Long restrictions for protocol parameters #38
Presently, Number-s are restricted to 64 (or 63) bit length, due to the use of Java longs. Lift this restriction. Provide alternative (to the present) implementation of Number (and ??). Should dynamically decide on the usage of long and used long or BigInteger.
Idea: Extend the class Number with some member functions (arithmetic etc) of BigInteger. The functions in Numerical should return Number. The arithmetic presently in long should them be performed with the member functions of Number (not to be confused with java.lang.Number).