by abcde666777
1 subcomments
- Hi guys, I've come up with a new 64 bit number representation where 0xFFFFFFFF is infinity. Hell you know what every value is just infinity.
by cortesoft
1 subcomments
- This feels like the computer science version of this article: https://www.scottaaronson.com/writings/bignumbers.html
- Related. Others?
The largest number representable in 64 bits - https://news.ycombinator.com/item?id=38414303 - Nov 2023 (105 comments)
The largest number representable in 64 bits - https://news.ycombinator.com/item?id=35677148 - April 2023 (42 comments)
(I haven't put 2023 in the current title since the article says it's been significantly expanded since then.)
- I can do you one better. I can represent the largest number with a single binary bit.
by its-summertime
2 subcomments
- It all goes over my head, but, what does the distribution of values look like? e.g. for unsigned integers its completely flat, for floating point its far too many zeros, and most of the numbers are centered around 0, what do these systems end up looking like?
- Please no more comments to the extent of "i can define a much larger number in only 1 bit". What makes my blog post (hopefully) interesting is that I consider tiny programs for computing huge numbers in non-cheating languages, that are not specifically equipped for doing so.
by heyitsdaad
0 subcomment
- bits == entropy.
Everything else is word play.
- You can do that Ackermann number with zenlisp with no internal numbers at all, just lists.
by kstrauser
1 subcomments
- What's the biggest up-arrow notation number you can spell with 64 bits?
https://mathworld.wolfram.com/KnuthUp-ArrowNotation.html
- Can you give a formulation of the problem you are trying to answer?
- I'm going to agree with the downvoted people and say that this sort of approach is largely meaningless if you allow arbitrary mappings. IMO the most reasonable mathematical formulation given the structure of the integers (in the sense of e.g. Peano) is that to truly represent an integer you have to represent zero and each other representable number has a representable predecessor, i.e. to say you can represent 5 you need 0,1,2,3,4, and 5 to be representable. By a straightforward counting argument, 2^64-1 is then the largest representable number, in other words the obvious thing is right.
- Given time, this will output a bigger number, and it is only 48 bits:
B0 39 mov al,'9' //load character '9' to AL
CD 29 int 29h //print to screen
EB FA jmp short -6 //go again
- Once you allow any format the question is completely meaningless. You can just define 0 to mean any number you want.
- (Edit: oops, incorrect numbers)
by masfuerte
1 subcomments
- > The largest number (currently known to be) representable in 64 bits is w218
In my representation the bit pattern 00000000_00000000_00000000_00000000_00000000_00000000_00000000_00000001 stands for the number w218+1.
I win!
- Whatever largest number you can express in your system, I can represent a larger one in only one bit, using the following specification.
0=your largest number
1=your largest number + 1