Jump to content

Java - a noob needs some help

When the OP said large numbers, I thought he meant numbers which are hundreds to thousands of digits long, which can't be represented in int or a long.

If it doesn't fit in 64bits, then it most likely fits in BigInteger.

It already takes quite a long time (about a minute) to 'bruteforce'-test numbers 10x size of Integer.MAX_VALUE

Mini-Desktop: NCASE M1 Build Log
Mini-Server: M350 Build Log

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×