tiny-bignum-c
tiny-bignum-c copied to clipboard
Display in base-10?
bignum_to_string appears to render a struct bn as hex rather than decimal; can we get a decimal option?
@kokke How difficult would it be to implement printing as decimal? I am also interested in this functionality. I am not 100% sure on how to do it but I would not mind giving it a try. Does the method indicated below look correct? https://stackoverflow.com/questions/8023414/how-to-convert-a-128-bit-integer-to-a-decimal-ascii-string-in-c