+ 1
bigger than long
I want to create a datatype that can store more than a long. should I try to do this wirh an array of longs or Strings where I save the Number and calculate + and - etc. with String operations?
10 Antworten
+ 2
I want to code it from scratch without any Class like Biginteger.
+ 2
Ok, so look at this for guideline
https://silentmatt.com/blog/2011/10/how-bigintegers-work/
+ 1
+ 1
thanks
0
I will try to use this with smth. like stacks. but thanks for this link.
0
Why stack? is it faster?
0
it isnt faster but I like difficult approches. Also it has no defined lenght.
0
also I can insert a number inbetween two numbers.
0
So the type you needed is not just +,- calculator.
0
yes it needs a few more methods +×÷-% and maybe even a few from the math class