Top "Biginteger" questions

BigInteger is an arbitrary-precision arithmetic type in Java, C#, and other languages.

How to use BigInteger?

I have this piece of code, which is not working: BigInteger sum = BigInteger.valueOf(0); for(int i = 2; i < 5000; i++) { …

java biginteger
Converting from Integer, to BigInteger

I was wondering if there was any way to convert a variable of type Integer, to BigInteger. I tried typecasting …

java biginteger
Large Numbers in Java

How would I go about doing calculations with extremely large numbers in Java? I have tried long but that maxes …

java numbers integer biginteger
How do I convert a String to a BigInteger?

I'm trying to read some really big numbers from standard input and add them together. However, to add to BigInteger, …

java string biginteger
java.math.BigInteger cannot be cast to java.lang.Long

I've got List<Long> dynamics. And I want to get max result using Collections. This is my code: …

java hibernate collections long-integer biginteger
Is there an upper bound to BigInteger?

Possible Duplicate: What does BigInteger having no limit mean? The Javadoc for BigInteger does not define any maximum or minimum. …

java biginteger
How to convert BigInteger to String in java

I converted a String to BigInteger as follows: Scanner sc=new Scanner(System.in); System.out.println("enter the message"); …

java string cryptography biginteger
How to implement big int in C++

I'd like to implement a big int class in C++ as a programming exercise—a class that can handle numbers …

c++ biginteger bignum largenumber
How to handle very large numbers in Java without using java.math.BigInteger

How would I go about doing arithmetic, + - / * % !, with arbitrarily large integers without using java.math.BigInteger? For instance, the …

java math biginteger integer
C++ handling very large integers

I am using the RSA Algorithm for encryption/decryption, and in order to decrypt the files you have to deal …

c++ rsa biginteger integer