Skip to content

Eliminate Long restrictions for protocol parameters #38

@bengtmartensson

Description

@bengtmartensson

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).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions