BigNumber
BigNumber copied to clipboard
C++ class for creating and computing arbitrary-length integers
Hello! I want to ask you how to implement setbit method and operator| with your framework. Please give me some guidances. Thank you first!
I cant use it on Linux / Ubuntu. Also view thats limited bignumber on long long. I must to have extra type on number with over 100 digit in number.
I cant use it on Linux / Ubuntu. Also view thats limited bignumber on long long. I must to have extra type on number with over 100 digit in number.
Please add % operator
Please add % operator
You could try this: ```cpp BigNumber big256(hex2dec.Convert("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")); BigNumber target = big256 / BigNumber("1"); ``` it seems trap into an endless loop.
You could try this: ```cpp BigNumber big256(hex2dec.Convert("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")); BigNumber target = big256 / BigNumber("1"); ``` it seems trap into an endless loop.
Hi, I'm working on a program that needs a class like this and am wondering in which directory on my Debian 12 system I should put the "bin" directory?
When I test function subtract using a example in main.cpp like ```assert((BigNumber("-100") - BigNumber("-5")) == -95);```,assertion failed.