home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.asm.x86      Ahh, the lost art of x86 assembly      4,675 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 3,161 of 4,675   
   Terje Mathisen to Rod Pemberton   
   Re: Palindromic number   
   07 Dec 17 11:15:58   
   
   From: terje.mathisen@nospicedham.tmsw.no   
      
   Rod Pemberton wrote:   
   > On Wed, 06 Dec 2017 11:24:17 GMT aen@nospicedham.spamtrap.com wrote:   
   >   
   >> [snip]   
   >>   
   >> Especially do I assume the maximum number correct? [snip]   
   >   
   > What maximum number?  What are you asking?   
   >   
   > Are you asking if another 64-bit palindromic number in decimal, say   
   > 9876543210123456789, is larger than 1234567890987654321?  If so,   
   > that's obvious.  Wouldn't the largest 64-bit palindromic number be   
   > 9999999999999999999?  Or, are you asking something else? ...   
      
   The largest number is of course what you get by taking the maximum   
   64-bit unsigned value (18446744073709551615) which is 2^64 - 1.   
      
   This is a 20-digit number so you just take the first 10 digits and   
   reverse them in order to get the largest possible 64-bit base-10   
   palindrome: 1844674407 7044764481   
      
   Terje   
      
   --   
   -    
   "almost all programming can be viewed as an exercise in caching"   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca