Hyper (-precision) type is a new version of Broad library (https://github.com/SilverfoxSystems/BroadLib) with corrections, optimizations and method descriptions. It can be used like any other numeric data type. But at this point only the basic calculations are available, including Mod and \ operators.
Besides ones mentioned in BroadLib,
- The ToString method also prints out the value in pure decimal format (by default).
- The type can be initialized from a string of any length
- Multiplication by another Hyper variable (use the * operator)
- The buffer gets resized according to the lowest and the highest exponent
- Comparison operators (<, >, ...) should also work now.
All operations (+, -, *), except Divide, can have Hyper type as the second operand. Division by Int64 is only supported.
The code of the managed library is not available on GitHub anymore but you can refer to the old project, the principle remains the same.
Install the extension here -> https://marketplace.visualstudio.com/items?itemName=SilverfoxSystems0.Hyper
Version change logs: http://silverfox.systems/Hyper/ or https://iz.azurewebsites.net/hyper/
If you have any questions or you want to contribute in any way, you are welcome to contact me or write in discussion.