
Computer Science Computer Science Forum 
 LinkBack  Thread Tools  Display Modes 
May 22nd, 2017, 10:53 PM  #1 
Banned Camp Joined: Aug 2011 Posts: 534 Thanks: 2  Largest integer number stored and displayed.
According to the Latest Central Processing unit (CPU) available on the Desktop computer,Which is the Largest integer number stored and displayed in a software application? I.e Billion,Trillion,Quadrillion etc Thanks & Regards, Prashant S Akerkar Last edited by prashantakerkar; May 22nd, 2017 at 10:56 PM. 
May 22nd, 2017, 11:03 PM  #2 
Senior Member Joined: Sep 2015 From: CA Posts: 1,293 Thanks: 664 
The CPU has almost nothing to do with the largest number that can be stored and displayed by software. Simple routines can be written to store, retrieve, display, add, subtract, multiply, and divide numbers of arbitrary length up to the storage limitations of the computer at hand. 
May 22nd, 2017, 11:24 PM  #3 
Senior Member Joined: Apr 2014 From: UK Posts: 768 Thanks: 290 
It is trivial to create a large number such that it would be too big to display on any screen. A googolplex is a pretty big number, but by no means the largest a CPU can deal with, and it can't be displayed in any software (without using powers or other notation!) https://en.wikipedia.org/wiki/Googolplex 
May 22nd, 2017, 11:43 PM  #4  
Senior Member Joined: Sep 2015 From: CA Posts: 1,293 Thanks: 664  Quote:
Now when you get to numbers so big that they require the system to remain functioning well beyond the expected time to fail of the components in order to display the entire number well you have a problem.  
May 23rd, 2017, 08:37 AM  #5 
Banned Camp Joined: Aug 2011 Posts: 534 Thanks: 2 
Thanks. But in any programming language , the long integer data type is defined. Can a computer program give us the output as 1000000000000? i.e 1 Trillion. This can be represented with the Scientific or Exponential notation. The latest desktop processor is i7 Quad core. So which is the Largest integer number from a computer program output ? Thanks & Regards, Prashant S Akerkar 
May 23rd, 2017, 09:24 AM  #6  
Senior Member Joined: Apr 2014 From: Glasgow Posts: 2,037 Thanks: 674 Math Focus: Physics, mathematical modelling, numerical and computational solutions  Quote:
If you want to know what the largest number that can be represented using a particular data type, you need to look at the language you are using and look at the limitations of those representations. If you're talking about exact representation of integers, the biggest integer is a 64bit integer ("Long"), which is 9223372036854775807. If you're talking about 64bit floating point numbers, the largest number is $\displaystyle 1.7976931348623157 \times 10^{308}$. Note... python has a "bignum" module for representing numbers using whatever memory is available. For example, if you have a 1 Gb of space free you have approx 8 billion bits available for representation, so you can technically represent numbers as large as $\displaystyle 2^{8000000000}$.  
May 23rd, 2017, 09:41 AM  #7 
Math Team Joined: Dec 2013 From: Colombia Posts: 6,876 Thanks: 2240 Math Focus: Mainly analysis and algebra 
Google still works: Pi  12.1 Trillion Digits 
May 23rd, 2017, 05:35 PM  #8 
Senior Member Joined: Aug 2012 Posts: 1,427 Thanks: 351 
It would not be difficult to write a calculator for transfinite ordinals and cardinals. Their arithmetic is perfectly simple, although ordinal addition is not commutative. But the rules are simple and not a particularly difficult programming exercise. Any transfinite number that can be expressed at all can be expressed as a finite string of symbols from the alphabet of standard set theory. [To the limit of my knowledge. This sounds like the kind of statement that someone like Joel David Hamkins knows the counterexample to]. You could fix a maximum expression size and you'd have no trouble writing a transfinite arithmetic package. I'm actually surprised nobody's done this. Of course it's completely useless but still ... the fact is that we can represent very large numbers using pencil and paper, and we can represent these same quantities in computers. Wait, look. There's a Wolfram Alpha page for that!! Transfinite Cardinal Arithmetic with WolframAlphaâ€”WolframAlpha Blog And here's a sample calculation. http://www.wolframalpha.com/input/?i...+1+%2B+aleph+2 Now those are some big numbers being represented in a computer! Last edited by Maschke; May 23rd, 2017 at 05:42 PM. 
May 24th, 2017, 11:23 AM  #9  
Senior Member Joined: May 2008 Posts: 250 Thanks: 45 
Beer soaked fake gratitude follows. Quote:
Quote:
 

Tags 
desktop, displayed, integer, largest, number, stored 
Thread Tools  
Display Modes  

Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Pythagoras theorem  Largest Hypotenuse integer value.  prashantakerkar  Number Theory  5  March 19th, 2017 10:12 AM 
Largest integer _1  sonu_pal  Algebra  2  September 12th, 2010 01:19 PM 
largest integer  sonu_pal  Algebra  6  September 12th, 2010 12:47 PM 
the largest integer number  rose3  Number Theory  3  March 1st, 2010 06:24 PM 
Why 30 is the largest integer such that none of its....?  Hussam  Number Theory  1  December 30th, 2008 06:45 AM 