Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #19903

Tetration (print 100^100^100^100^100^100^100^100^100^100^100^100^100^100)

From jononanon@googlemail.com
Newsgroups comp.lang.c
Subject Tetration (print 100^100^100^100^100^100^100^100^100^100^100^100^100^100)
Date 2012-04-25 08:22 -0700
Organization http://groups.google.com
Message-ID <26963764.3483.1335367330472.JavaMail.geo-discussion-forums@vbx14> (permalink)

Show all headers | View raw


Stefan Ram asks the following:

On Monday, April 23, 2012 11:53:09 PM UTC+2, Stefan Ram wrote:
> John Reye writes:
> >How can one construct a literal, to be the largest value that this
> >variable can hold, without information about the variables type?
> 
>   The largest value a single bit can hold is not limited.
>   It just depends on the code used. For example, I can use this code:
> 
> bit
> state  meaning
> 0      the number 0
> 1      the number 100^100^100^100^100^100^100^100^100^100^100^100^100^100
> 
>   For large numbers, see:
> 
> http://www.scottaaronson.com/writings/bignumbers.html
> http://mathoverflow.net/questions/34710/succinctly-naming-big-numbers-zfc-versus-busy-beaver
> http://jeremykun.wordpress.com/2012/02/08/busy-beavers-and-the-quest-for-big-numbers/
> http://en.wikipedia.org/wiki/Busy_beaver
> http://www.strangehorizons.com/2001/20010402/biggest_numbers.shtml
> http://mrob.com/pub/math/largenum-5.html
> 
>   . With C, one can use the literal »1«:
>  
> { number c;
>   init( &c, 1 );
>   print( c ); }
> 
>   will print
> 
> 100^100^100^100^100^100^100^100^100^100^100^100^100^100
> 
>   , given an appropriate definition for »number«, »init«, and »print«
>   (exercise).

Back to comp.lang.c | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Tetration (print 100^100^100^100^100^100^100^100^100^100^100^100^100^100) jononanon@googlemail.com - 2012-04-25 08:22 -0700
  Re: Tetration (print 100^100^100^100^100^100^100^100^100^100^100^100^100^100) jononanon@googlemail.com - 2012-04-25 08:56 -0700
    Re: Tetration (print 100^100^100^100^100^100^100^100^100^100^100^100^100^100) jononanon@googlemail.com - 2012-04-25 13:13 -0700
      Re: Tetration (print 100^100^100^100^100^100^100^100^100^100^100^100^100^100) jononanon@googlemail.com - 2012-04-25 13:49 -0700
  Re: Tetration (print 100^100^100^100^100^100^100^100^100^100^100^100^100^100) jononanon@googlemail.com - 2012-04-25 08:47 -0700

csiph-web